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

Method dimensions

cpp/nd/impl/dynamic_array.hpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 uint8_t dimensions() const
45 {
46 return arrays_->empty() ? 1 : static_cast<uint8_t>(arrays_->front().dimensions() + 1);
47 }
48
49 constexpr bool is_dynamic() const noexcept
50 {

Callers 1

dimensionsMethod · 0.45

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected