| 540 | } // namespace |
| 541 | |
| 542 | Result<int64_t> Tensor::CountNonZero() const { |
| 543 | NonZeroCounter counter(*this); |
| 544 | RETURN_NOT_OK(VisitTypeInline(*type(), &counter)); |
| 545 | return counter.result; |
| 546 | } |
| 547 | |
| 548 | } // namespace arrow |
nothing calls this directly
no test coverage detected