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

Method data

cpp/nd/array.hpp:645–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643 }
644
645 inline std::span<const uint8_t> data() const
646 {
647 if (mode_ == mode_t::scalar_inplace) {
648 return base::span_cast<const uint8_t>(
649 std::span<const char>(&data_.raw[1], static_cast<uint8_t>(data_.raw[0])));
650 }
651 check_null();
652 return holder()->data();
653 }
654
655 inline bool has_stride() const noexcept
656 {

Callers 9

dataMethod · 0.45
byte_1_valueMethod · 0.45
byte_2_valueMethod · 0.45
byte_4_valueMethod · 0.45
byte_8_valueMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45
get_rangeMethod · 0.45

Calls 2

holderClass · 0.70
dataFunction · 0.50

Tested by

no test coverage detected