| 632 | } // namespace |
| 633 | |
| 634 | Result<int64_t> Tensor::CountNonZero() const { |
| 635 | NonZeroCounter counter(*this); |
| 636 | RETURN_NOT_OK(VisitTypeInline(*type(), &counter)); |
| 637 | return counter.result; |
| 638 | } |
| 639 | |
| 640 | } // namespace arrow |
nothing calls this directly
no test coverage detected