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

Method emitStringLiteral

source/python.js:17720–17722  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

17718 return result.output();
17719 }
17720 emitStringLiteral(c) {
17721 return torch._C.insertConstant(this.graph, c.value, c.range());
17722 }
17723 emitConst(c) {
17724 if (c.type === 'int') {
17725 return torch._C.materializeConstant(new torch._C.IValue(c.value, 'Int'), this.graph, c.range(), this.integral_constants);

Callers 1

emitSimpleExprMethod · 0.80

Calls 1

insertConstantMethod · 0.80

Tested by

no test coverage detected