\brief Construct a sparse tensor from physical data buffer and logical index
| 554 | |
| 555 | /// \brief Construct a sparse tensor from physical data buffer and logical index |
| 556 | SparseTensorImpl(const std::shared_ptr<SparseIndexType>& sparse_index, |
| 557 | const std::shared_ptr<DataType>& type, |
| 558 | const std::shared_ptr<Buffer>& data, const std::vector<int64_t>& shape, |
| 559 | const std::vector<std::string>& dim_names) |
| 560 | : SparseTensor(type, data, shape, sparse_index, dim_names) {} |
| 561 | |
| 562 | /// \brief Construct an empty sparse tensor |
| 563 | SparseTensorImpl(const std::shared_ptr<DataType>& type, |
nothing calls this directly
no outgoing calls
no test coverage detected