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

Method CountNonZero

cpp/src/arrow/tensor.cc:542–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540} // namespace
541
542Result<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

Callers

nothing calls this directly

Calls 2

VisitTypeInlineFunction · 0.85
typeFunction · 0.70

Tested by

no test coverage detected