MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / add_opr

Method add_opr

imperative/src/impl/proxy_graph/mini_graph.h:575–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573 }
574
575 size_t add_opr() {
576 if (!free_slots)
577 rotate();
578 --free_slots;
579 return head;
580 }
581
582 size_t progress() { return tail; }
583};

Callers 2

apply_on_var_nodeFunction · 0.45
release_oprMethod · 0.45

Calls 1

rotateFunction · 0.50

Tested by

no test coverage detected