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

Method size

imperative/python/src/backtrace.h:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 int key,
45 const SmallVector<std::pair<PyFrameObject*, FrameInfoPtr>, 100>& frames);
46 size_t size() { return stack_cache.size(); }
47 FrameInfoPtr& operator[](int key) { return stack_cache[key]; }
48 static int get_frame_key(PyFrameObject* frame);
49 static FrameInfoCache* get_instance();

Callers 15

forward_computeFunction · 0.45
backward_computeFunction · 0.45
_replace_varsFunction · 0.45
_replace_oprsFunction · 0.45
init_graph_rtFunction · 0.45
py_applyFunction · 0.45
scalar2storageFunction · 0.45
vec2storageFunction · 0.45
pyseq2hvalFunction · 0.45
parse_argsFunction · 0.45
parse_args_and_kwargsFunction · 0.45
TensorWrapperMethod · 0.45

Calls

no outgoing calls

Tested by 2

forward_computeFunction · 0.36
backward_computeFunction · 0.36