Return whether the rank is unknown
| 245 | |
| 246 | /// Return whether the rank is unknown |
| 247 | bool unknown_rank() const { |
| 248 | return kIsPartial && ndims_byte() == kUnknownRank; |
| 249 | } |
| 250 | |
| 251 | /// Return the number of dimensions in the tensor. |
| 252 | /// Can be -1 meaning unknown rank for PartialTensorShape. |
no outgoing calls