Constructor with two index vectors
| 394 | |
| 395 | // Constructor with two index vectors |
| 396 | SparseCSFIndex::SparseCSFIndex(const std::vector<std::shared_ptr<Tensor>>& indptr, |
| 397 | const std::vector<std::shared_ptr<Tensor>>& indices, |
| 398 | const std::vector<int64_t>& axis_order) |
| 399 | : SparseIndexBase(), indptr_(indptr), indices_(indices), axis_order_(axis_order) { |
| 400 | ARROW_CHECK_OK(CheckSparseCSFIndexValidity(indptr_.front()->type(), |
| 401 | indices_.front()->type(), indptr_.size(), |
| 402 | indices_.size(), axis_order_.size())); |
| 403 | } |
| 404 | |
| 405 | std::string SparseCSFIndex::ToString() const { return std::string("SparseCSFIndex"); } |
| 406 |
nothing calls this directly
no test coverage detected