\brief Convenience accessor for the tensor shape. For all shape accessors, see comments for relevant methods of `TensorShape` in `tensor_shape.h`.
| 260 | /// For all shape accessors, see comments for relevant methods of |
| 261 | /// `TensorShape` in `tensor_shape.h`. |
| 262 | int dims() const { return shape().dims(); } |
| 263 | |
| 264 | /// Convenience accessor for the tensor shape. |
| 265 | int64 dim_size(int d) const { return shape().dim_size(d); } |