Returns tensor's shape as a list which can be unpacked, unlike tf.shape. If the tensor is unranked, and ndims is None, returns the shape as a Tensor. Otherwise, returns a list of values. Each element in the list is an int (when the corresponding dimension is static), or a scalar tf.Tensor (wh
(
tensor: Any, # anything that can be converted to a tf.Tensor
ndims: Optional[int] = None,
optimize_for_reshape: bool = False,
)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected
searching dependent graphs…