[Solution found!] 要将形状显示为整数列表,请执行tensor.get_shape().as_list()。 要完成tf.shape()通话,请尝试tensor2 = tf.reshape(tensor, tf.
確定! 回上一頁