| 2453 | } |
| 2454 | |
| 2455 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCOOIndex( |
| 2456 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2457 | const std::vector<std::string>& dim_names, |
| 2458 | const std::shared_ptr<SparseCOOIndex>& sparse_index, int64_t non_zero_length, |
| 2459 | const std::shared_ptr<Buffer>& data) { |
| 2460 | return SparseCOOTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2461 | } |
| 2462 | |
| 2463 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex( |
| 2464 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
no test coverage detected