| 600 | } // namespace |
| 601 | |
| 602 | Result<int64_t> Tensor::CountNonZero() const { |
| 603 | NonZeroCounter counter(*this); |
| 604 | RETURN_NOT_OK(VisitTypeInline(*type(), &counter)); |
| 605 | return counter.result; |
| 606 | } |
| 607 | |
| 608 | } // namespace arrow |
nothing calls this directly
no test coverage detected