| 2421 | } |
| 2422 | |
| 2423 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSFIndex( |
| 2424 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2425 | const std::vector<std::string>& dim_names, |
| 2426 | const std::shared_ptr<SparseCSFIndex>& sparse_index, |
| 2427 | const std::shared_ptr<Buffer>& data) { |
| 2428 | return SparseCSFTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2429 | } |
| 2430 | |
| 2431 | Status ReadSparseTensorMetadata(const Buffer& metadata, |
| 2432 | std::shared_ptr<DataType>* out_type, |
no test coverage detected