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

Method emitIf

source/python.js:16960–16963  ·  view source on GitHub ↗
(stmt)

Source from the content-addressed store, hash-verified

16958 return new torch._C.CondValue(result, refinement, null);
16959 }
16960 emitIf(stmt) {
16961 const cond_value = this.emitCondExpr(stmt.test);
16962 this.emitIfElseBlocks(stmt.range(), cond_value, stmt.body, stmt.orelse);
16963 }
16964 emitCondExpr(expr) {
16965 /*
16966 switch (expr.kind()) {

Callers 1

emitStatementsMethod · 0.80

Calls 2

emitCondExprMethod · 0.80
emitIfElseBlocksMethod · 0.80

Tested by

no test coverage detected