x = tf.constant([1,2,3])
print(x.shape)
x = tf.ensure_shape(x, [3])
tf.ensure_shape 感觉这个功能有点鸡肋
最新推荐文章于 2022-09-09 12:48:38 发布
x = tf.constant([1,2,3])
print(x.shape)
x = tf.ensure_shape(x, [3])