SyntaxFix
Write A Post
Hire A Developer
Questions
Tensor.get_shape() from this post.
Tensor.get_shape()
From documentation:
c = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]) print(c.get_shape()) ==> TensorShape([Dimension(2), Dimension(3)])