Return the number of dimensions in the tensor.
| 261 | |
| 262 | /// Return the number of dimensions in the tensor. |
| 263 | int dims() const { return dim_sizes_.size(); } |
| 264 | |
| 265 | /// \brief Returns the number of elements in dimension `d`. |
| 266 | /// REQUIRES: `0 <= d < dims()` |
no test coverage detected