MCPcopy Create free account
hub / github.com/apache/arrow / CountNonZero

Method CountNonZero

cpp/src/arrow/tensor.cc:602–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600} // namespace
601
602Result<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

Callers

nothing calls this directly

Calls 2

VisitTypeInlineFunction · 0.85
typeFunction · 0.70

Tested by

no test coverage detected