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

Method CountNonZero

cpp/src/arrow/tensor.cc:634–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632} // namespace
633
634Result<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

Callers

nothing calls this directly

Calls 2

VisitTypeInlineFunction · 0.85
typeFunction · 0.70

Tested by

no test coverage detected