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

Method coord_iterator

cpp/nd/ndenumerate.hpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19public:
20 explicit coord_iterator(const std::vector<uint32_t>& data)
21 : data_(data)
22 , state_(data.size(), 0)
23 , end_(std::ranges::find(data_, 0) != data_.end())
24 {}
25
26 explicit coord_iterator(std::vector<uint32_t>&& data)
27 : data_(std::move(data))

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected