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