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

Method appendNode

source/python.js:12529–12535  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

12527 return this.outputs().length - 1;
12528 }
12529 appendNode(n) {
12530 if (n._graph !== this._graph || n.inBlockList()) {
12531 throw new python.Error('Node not in graph.');
12532 }
12533 n.insertBefore(this._output);
12534 return n;
12535 }
12536 cloneFrom(src, value_map) {
12537 const local_map = new Map();
12538 const env = (v) => {

Callers 1

cloneFromMethod · 0.80

Calls 2

inBlockListMethod · 0.80
insertBeforeMethod · 0.45

Tested by

no test coverage detected