| 2461 | } |
| 2462 | |
| 2463 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex( |
| 2464 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2465 | const std::vector<std::string>& dim_names, |
| 2466 | const std::shared_ptr<SparseCSRIndex>& sparse_index, int64_t non_zero_length, |
| 2467 | const std::shared_ptr<Buffer>& data) { |
| 2468 | return SparseCSRMatrix::Make(sparse_index, type, data, shape, dim_names); |
| 2469 | } |
| 2470 | |
| 2471 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSCIndex( |
| 2472 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
no test coverage detected