| 2494 | } |
| 2495 | |
| 2496 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSFIndex( |
| 2497 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2498 | const std::vector<std::string>& dim_names, |
| 2499 | const std::shared_ptr<SparseCSFIndex>& sparse_index, |
| 2500 | const std::shared_ptr<Buffer>& data) { |
| 2501 | return SparseCSFTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2502 | } |
| 2503 | |
| 2504 | Status ReadSparseTensorMetadata(const Buffer& metadata, |
| 2505 | std::shared_ptr<DataType>* out_type, |
no test coverage detected