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

Method value

cpp/nd/impl/stacked_array.hpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 T value(int64_t index) const
69 {
70 auto v1 = a1_.volume();
71 if (index < v1) {
72 return a1_.template value<T>(index);
73 }
74 return a2_.template value<T>(index - v1);
75 }
76
77 array eval() const
78 {

Callers

nothing calls this directly

Calls 1

volumeMethod · 0.45

Tested by

no test coverage detected