whether underlying storage is empty
| 364 | |
| 365 | //! whether underlying storage is empty |
| 366 | bool empty() const { return m_storage.empty(); } |
| 367 | |
| 368 | //! whether tensor shape is valid (i.e. ndim != 0) |
| 369 | bool shape_valid() const { return m_layout.ndim; } |
no outgoing calls