| 2477 | } |
| 2478 | |
| 2479 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSFIndex( |
| 2480 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2481 | const std::vector<std::string>& dim_names, |
| 2482 | const std::shared_ptr<SparseCSFIndex>& sparse_index, |
| 2483 | const std::shared_ptr<Buffer>& data) { |
| 2484 | return SparseCSFTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2485 | } |
| 2486 | |
| 2487 | Status ReadSparseTensorMetadata(const Buffer& metadata, |
| 2488 | std::shared_ptr<DataType>* out_type, |
no test coverage detected