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

Method allocNewInstance

source/python.js:12844–12846  ·  view source on GitHub ↗
(g)

Source from the content-addressed store, hash-verified

12842 return this;
12843 }
12844 allocNewInstance(g) {
12845 return new torch.Node(g, this.kind());
12846 }
12847 cloneFrom(s) {
12848 this._source_range = s._source_range;
12849 if (s._scope && !s._scope.isBlank()) {

Callers 1

createCloneMethod · 0.80

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected