Returns tensor's rank as an int if it's available, otherwise a Tensor. Args: tensor: The input tensor. Returns: Either an int or a Tensor for the rank of the input tensor.
(tensor)
source not stored for this graph (policy: none)
no test coverage detected
searching dependent graphs…