MCPcopy Index your code
hub / github.com/lutzroeder/netron / cloneFrom

Method cloneFrom

source/python.js:12445–12450  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

12443 return new_g;
12444 }
12445 cloneFrom(src) {
12446 const env = (v) => {
12447 throw new python.Error(`Use of value '${v.debugName()}' not in scope.`);
12448 };
12449 this.block().cloneFrom(src.block(), env);
12450 }
12451 set_op_version(version) {
12452 this._op_version = version;
12453 }

Callers 4

createCloneMethod · 0.80
copyMethod · 0.80
constructorMethod · 0.80

Calls 12

owningGraphMethod · 0.80
copyMetadataMethod · 0.80
addInputMethod · 0.80
appendNodeMethod · 0.80
createCloneMethod · 0.80
registerOutputMethod · 0.80
copyAttributesMethod · 0.80
blockMethod · 0.45
inputsMethod · 0.45
setMethod · 0.45
nodesMethod · 0.45
outputsMethod · 0.45

Tested by

no test coverage detected