| 2405 | } |
| 2406 | |
| 2407 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSRIndex( |
| 2408 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
| 2409 | const std::vector<std::string>& dim_names, |
| 2410 | const std::shared_ptr<SparseCSRIndex>& sparse_index, int64_t non_zero_length, |
| 2411 | const std::shared_ptr<Buffer>& data) { |
| 2412 | return SparseCSRMatrix::Make(sparse_index, type, data, shape, dim_names); |
| 2413 | } |
| 2414 | |
| 2415 | Result<std::shared_ptr<SparseTensor>> MakeSparseTensorWithSparseCSCIndex( |
| 2416 | const std::shared_ptr<DataType>& type, const std::vector<int64_t>& shape, |
no test coverage detected