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

Method insertUncheckedCast

source/python.js:12383–12388  ·  view source on GitHub ↗
(v, type)

Source from the content-addressed store, hash-verified

12381 return result;
12382 }
12383 insertUncheckedCast(v, type) {
12384 const n = this.create('prim::unchecked_cast', [v]);
12385 this.insertNode(n);
12386 n.output().setType(type);
12387 return n.output();
12388 }
12389 insertToList(v, type) {
12390 let dim = 0;
12391 let ptr = type;

Callers 4

emitReturnMethod · 0.80
emitExprMethod · 0.80
emitApplySpecialFormMethod · 0.80
insertRefinementsMethod · 0.80

Calls 4

insertNodeMethod · 0.80
setTypeMethod · 0.80
createMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected