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

Method eval

cpp/nd/impl/flat_array.hpp:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 nd::array eval() const
69 {
70 if (a_.is_dynamic() || a_.dimensions() > 1) {
71 return flatten(a_);
72 }
73 return nd::eval(a_);
74 }
75
76 constexpr bool is_dynamic() const noexcept
77 {

Callers

nothing calls this directly

Calls 3

flattenFunction · 0.85
is_dynamicMethod · 0.45
dimensionsMethod · 0.45

Tested by

no test coverage detected