MCPcopy Create free account
hub / github.com/activeloopai/deeplake / operator-

Method operator-

cpp/nd/iterator.hpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 std::ptrdiff_t operator-(const data_iterator& other) const
53 {
54 return (data_.data() - other.data_.data()) / data_.size();
55 }
56
57 bool operator==(const data_iterator& other) const
58 {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected