MCPcopy
hub / github.com/lutzroeder/netron / popFrame

Method popFrame

source/python.js:16657–16664  ·  view source on GitHub ↗
(ends_def)

Source from the content-addressed store, hash-verified

16655 this.environment_stack = new torch._C.Environment(this.method, this.resolver, b, this.environment_stack);
16656 }
16657 popFrame(ends_def) {
16658 const old_frame = this.environment_stack;
16659 this.environment_stack = this.environment_stack.next;
16660 if (ends_def) {
16661 this._def_stack.pop();
16662 }
16663 return old_frame;
16664 }
16665 emitDef(def, self, block) {
16666 const schema = this._typeParser.parseSchemaFromDef(def, self !== null);
16667 if (schema.returns.length === 1) {

Callers 4

emitLoopCommonMethod · 0.80
emitSingleIfBranchMethod · 0.80
eraseBlockLoadStoresMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected