| 511 | /// The returned Tensor has row-major order (C-like). |
| 512 | Result<std::shared_ptr<Tensor>> ToTensor(MemoryPool* pool) const; |
| 513 | Result<std::shared_ptr<Tensor>> ToTensor() const { |
| 514 | return ToTensor(default_memory_pool()); |
| 515 | } |
| 516 | |
| 517 | protected: |
| 518 | // Constructor with all attributes |
nothing calls this directly
no test coverage detected