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

Method byte_1_value

cpp/nd/array.hpp:333–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 };
332
333 inline byte_t<1> byte_1_value(int64_t index) const
334 {
335 if (mode_ == mode_t::scalar_inplace) {
336 ASSERT(index == 0);
337 return base::span_cast<const byte_t<1>>(data())[index];
338 }
339 return holder()->byte_1_value(index);
340 }
341
342 inline byte_t<2> byte_2_value(int64_t index) const
343 {

Callers

nothing calls this directly

Calls 2

holderClass · 0.70
dataFunction · 0.50

Tested by

no test coverage detected