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

Method createObject

source/python.js:12313–12317  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

12311 return n;
12312 }
12313 createObject(type) {
12314 const node = this.create('prim::CreateObject');
12315 node.output().setType(type);
12316 return node;
12317 }
12318 createIsInstance(v, types) {
12319 const n = this.create('prim::isinstance', [v], 1);
12320 n.tys_('types', types);

Callers 2

constructorMethod · 0.80
emitApplySpecialFormMethod · 0.80

Calls 3

setTypeMethod · 0.80
createMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected