| 584 | |
| 585 | template <typename TYPE> |
| 586 | enable_if_number<TYPE, Status> Visit(const TYPE& type) { |
| 587 | result = TensorCountNonZero<TYPE>(tensor_); |
| 588 | return Status::OK(); |
| 589 | } |
| 590 | |
| 591 | Status Visit(const DataType& type) { |
| 592 | ARROW_CHECK(!is_tensor_supported(type.id())); |
nothing calls this directly
no test coverage detected