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

Method strided_array

cpp/nd/impl/strided_array.hpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106public:
107 strided_array(array a, icm::index_mapping_vector indices)
108 : shape_(icm::slice_shape(a.shape(), indices.begin(), indices.end()))
109 , a_(std::move(a))
110 , indices_(std::move(indices))
111 {}
112
113 enum dtype dtype() const
114 {

Callers

nothing calls this directly

Calls 4

slice_shapeFunction · 0.85
shapeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected