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

Method createNone

source/python.js:12224–12228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12222 return r;
12223 }
12224 createNone() {
12225 const n = this.create('prim::Constant');
12226 n.output().setType(torch.NoneType.get());
12227 return n;
12228 }
12229 createUninitialized(typ) {
12230 const n = this.create('prim::Uninitialized');
12231 n.output().setType(typ);

Callers 2

constructorMethod · 0.80
emitApplySpecialFormMethod · 0.80

Calls 4

setTypeMethod · 0.80
createMethod · 0.45
outputMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected