MCPcopy Create free account
hub / github.com/activeloopai/deeplake / nonzero

Method nonzero

cpp/nd/array.hpp:309–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 void nonzero(icm::bit_vector_view output) const override
310 {
311 if constexpr (impl::has_nonzero_member_function_v<I>) {
312 impl_.nonzero(output);
313 } else {
314 throw invalid_operation("nonzero(icm::bit_vector_view) method is not implemented for this array.");
315 }
316 }
317
318 public:
319 I impl_;

Callers

nothing calls this directly

Calls 2

invalid_operationClass · 0.70
nonzeroMethod · 0.45

Tested by

no test coverage detected