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

Method value

cpp/nd/impl/strided_array.hpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 value_type value(int64_t index) const
124 {
125 auto o = new_to_old_offset(index, a_.shape(), indices_.begin(), indices_.end());
126 return a_.value<value_type>(o);
127 }
128
129 array get(int64_t index) const
130 {

Callers

nothing calls this directly

Calls 4

new_to_old_offsetFunction · 0.85
shapeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected