MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / operator[]

Method operator[]

src/custom/impl/tensor.cpp:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188size_t Shape::operator[](size_t idx) const {
189 return const_cast<Shape*>(this)->operator[](idx);
190}
191
192void Shape::ndim(size_t dim) {
193 mgb_assert(

Callers 5

to_jsonMethod · 0.45
tensor.cppFile · 0.45
compute_implFunction · 0.45
update_graphMethod · 0.45
solveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected