| 2470 | } |
| 2471 | |
| 2472 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCOOIndex( |
| 2473 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2474 | const std::vector<std::string>& dim_names, |
| 2475 | const std::shared_ptr<SparseCOOIndex>& sparse_index, int64_t non_zero_length, |
| 2476 | const std::shared_ptr<Buffer>& data) { |
| 2477 | return SparseCOOTensor::Make(sparse_index, type, data, shape, dim_names); |
| 2478 | } |
| 2479 | |
| 2480 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex( |
| 2481 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
no test coverage detected