| 388 | static constexpr const char* name = "Tensor"; |
| 389 | |
| 390 | static Result<Imported> Import(DLManagedTensorVersioned* raw) { |
| 391 | return ImportTensorVersioned(raw); |
| 392 | } |
| 393 | static std::shared_ptr<DataType> ValueType(const Imported& t) { return t->type(); } |
| 394 | static const uint8_t* RawData(const Imported& t) { return t->raw_data(); } |
| 395 | static bool IsMutable(const Imported& t) { return t->is_mutable(); } |
nothing calls this directly
no test coverage detected