tensorflow学习笔记

import tensorflow as tf a = tf.constant(2,shape=[2,2]) print(a) Tensor("Const:0", shape=(2, 2), dtype=int32) tf.InteractiveSession() a.eval() array([[2, 2], [2, 2]]) b = tf.constant([2,1
相关文章
相关标签/搜索