| 304 | |
| 305 | template <typename T> |
| 306 | T* data_as() { |
| 307 | return static_cast<T*>(tensor().data); |
| 308 | } |
| 309 | |
| 310 | std::span<const int64_t> shape() const { |
| 311 | return {tensor().shape, static_cast<std::size_t>(ndim())}; |
nothing calls this directly
no outgoing calls
no test coverage detected