Syntactic sugar for asserting that tensor has the expected shape. Args: tensor: A Tensor. expected_shape: A Python list or a 1D tensor. Elements of expected_shape can be -1 which indicate that any size is valid for that dimension. ndims: If not None, check only the first `ndims`
(tensor: tf.Tensor, expected_shape, ndims=None)
source not stored for this graph (policy: none)
no test coverage detected
searching dependent graphs…