tensorflow打印tensor有省略號問題

  先上代碼: import tensorflow as tf x = tf.ones(shape=[100, 200], dtype=tf.int32, name='x') y = tf.zeros(shape=[2, 3], dtype=tf.float32, name='y') with tf.Session() as sess: print(sess.run([x, y])) 輸出
相關文章
相關標籤/搜索