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

Method data

cpp/nd/array.hpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 std::span<const uint8_t> data() const override
158 {
159 if constexpr (impl::has_data_member_function_v<I>) {
160 return impl_.data();
161 } else {
162 throw invalid_operation("data() method is not implemented for this array.");
163 }
164 }
165
166 byte_t<1> byte_1_value(int64_t index) const override
167 {

Callers

nothing calls this directly

Calls 2

invalid_operationClass · 0.70
dataMethod · 0.45

Tested by

no test coverage detected