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

Method range

cpp/nd/array.hpp:736–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734 }
735
736 inline array range(int64_t start, int64_t end) const
737 {
738 try {
739 return holder()->get_range(start, end);
740 } catch (const invalid_operation&) {
741 return array(impl::range_array(*this, start, end));
742 }
743 ASSERT(false);
744 return array{};
745 }
746
747 inline constexpr bool is_dynamic() const noexcept
748 {

Callers 2

BM_CharacterCountFunction · 0.45
BM_ConditionalTokensFunction · 0.45

Calls 4

range_arrayClass · 0.85
get_rangeMethod · 0.80
holderClass · 0.70
arrayClass · 0.70

Tested by

no test coverage detected