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

Method Visit

cpp/src/arrow/tensor.cc:618–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617 template <typename TYPE>
618 enable_if_number<TYPE, Status> Visit(const TYPE& type) {
619 result = TensorCountNonZero<TYPE>(tensor_);
620 return Status::OK();
621 }
622
623 Status Visit(const DataType& type) {
624 ARROW_CHECK(!is_tensor_supported(type.id()));

Callers

nothing calls this directly

Calls 5

is_tensor_supportedFunction · 0.85
OKFunction · 0.70
NotImplementedFunction · 0.70
idMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected