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

Method destroy

source/python.js:12564–12572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12562 this._output.removeInput(i);
12563 }
12564 destroy() {
12565 this._output.removeAllInputs();
12566 for (const n of this.nodes()) {
12567 n.destroy();
12568 }
12569 this._output.destroy();
12570 this._input.destroy();
12571 this._graph.freeBlock(this);
12572 }
12573 });
12574 this.registerType('torch.Node', class {
12575 constructor(graph, kind) {

Callers 12

sweepMethod · 0.80
removeLoopNodeMethod · 0.80
inlineIfBodyMethod · 0.80
constructorMethod · 0.80
eraseBlockMethod · 0.80
eraseBlockLoadStoresMethod · 0.80
destroyNodeAfterExitMethod · 0.80
transformExitsMethod · 0.80
_requestMethod · 0.80
delattrMethod · 0.80
constructorMethod · 0.80

Calls 10

removeAllInputsMethod · 0.80
freeBlockMethod · 0.80
eraseOutputMethod · 0.80
blocksMethod · 0.80
eraseBlockMethod · 0.80
inBlockListMethod · 0.80
removeFromListMethod · 0.80
freeNodeMethod · 0.80
nodesMethod · 0.45
outputsMethod · 0.45

Tested by

no test coverage detected