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

Method data

cpp/deeplake_pg/nd_utils.hpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 std::span<const uint8_t> data() const
76 {
77 auto len =
78 value_->shape_.size() == 1 ? value_->shape_.front() : (value_->shape_.front() * value_->shape_.back());
79 return base::span_cast<const uint8_t>(std::span<const T>(value_->data_, value_->data_ + len));
80 }
81
82 const auto& owner() const
83 {

Callers 15

get_datumMethod · 0.45
set_index_typeMethod · 0.45
mcv_value_to_datumFunction · 0.45
drop_deeplake_indexesMethod · 0.45
save_index_metadataFunction · 0.45
update_tupleMethod · 0.45
set_2d_array_outputMethod · 0.45
set_1d_array_outputMethod · 0.45

Calls 3

sizeMethod · 0.45
frontMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected