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

Method byte_8_value

cpp/nd/array.hpp:360–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 }
359
360 inline byte_t<8> byte_8_value(int64_t index) const
361 {
362 if (mode_ == mode_t::scalar_inplace) {
363 ASSERT(index == 0);
364 return base::span_cast<const byte_t<8>>(data())[index];
365 }
366 return holder()->byte_8_value(index);
367 }
368
369 explicit array(std::string value)
370 : dtype_(dtype::string)

Callers

nothing calls this directly

Calls 2

holderClass · 0.70
dataFunction · 0.50

Tested by

no test coverage detected