tensorflow中的shape函数理解
在tensorflow中经常用到shape函数例如import tensorflow as tfa = tf.constant([[1.,2.,3.],[4.,5.,6.],[7.,8.,9.]],shape = [3,3])b = tf.global_variables_initializer()with tf.Session() as sess: sess.run(b)...
原创
2019-11-21 10:24:48 ·
3784 阅读 ·
1 评论