Constructor with two index vectors
| 410 | |
| 411 | // Constructor with two index vectors |
| 412 | SparseCSFIndex::SparseCSFIndex(const std::vector<std::shared_ptr<Tensor>>& indptr, |
| 413 | const std::vector<std::shared_ptr<Tensor>>& indices, |
| 414 | const std::vector<int64_t>& axis_order) |
| 415 | : SparseIndexBase(), indptr_(indptr), indices_(indices), axis_order_(axis_order) { |
| 416 | ARROW_CHECK_OK(CheckSparseCSFIndexValidity(indptr_.front()->type(), |
| 417 | indices_.front()->type(), indptr_.size(), |
| 418 | indices_.size(), axis_order_.size())); |
| 419 | } |
| 420 | |
| 421 | std::string SparseCSFIndex::ToString() const { return std::string("SparseCSFIndex"); } |
| 422 |
nothing calls this directly
no test coverage detected