For example, the following code uses reshape to convert a four-element vector into a 2-x-2 matrix: vec = tf.constant([1., 2., 3., 4.]) mat = tf.reshape(vec, [2, ...
確定! 回上一頁