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

Method addBlock

source/python.js:12807–12811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12805 return value;
12806 }
12807 addBlock() {
12808 this._op = null;
12809 this._blocks.push(new torch.Block(this.owningGraph(), this));
12810 return this._blocks[this._blocks.length - 1];
12811 }
12812 get prev() {
12813 return this._prev;
12814 }

Callers 7

createCloneMethod · 0.80
emitLoopCommonMethod · 0.80
emitIfElseBlocksMethod · 0.80
constructorMethod · 0.80
transformLoopMethod · 0.80
transformExitsMethod · 0.80

Calls 2

owningGraphMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected