| 2397 | } |
| 2398 | |
| 2399 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCOOIndex( |
| 2400 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2401 | const std::vector<std::string>& dim_names, |
| 2402 | const std::shared_ptr<SparseCOOIndex>& sparse_index, int64_t non_zero_length, |
| 2403 | const std::shared_ptr<Buffer>& data) { |
| 2404 | return SparseCOOTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2405 | } |
| 2406 | |
| 2407 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex( |
| 2408 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
no test coverage detected