(b, branch, refinements)
| 17141 | } |
| 17142 | } |
| 17143 | emitSingleIfBranch(b, branch, refinements) { |
| 17144 | this.pushFrame(b); |
| 17145 | const guard = new torch._C.WithInsertPoint(b); |
| 17146 | this.insertRefinements(branch, refinements); |
| 17147 | this.emitStatements(branch); |
| 17148 | const frame = this.popFrame(); |
| 17149 | guard.dispose(); |
| 17150 | return frame; |
| 17151 | } |
| 17152 | create(kind, loc, n_outputs) { |
| 17153 | return this.graph.create(kind, n_outputs).setSourceRange(loc); |
| 17154 | } |
no test coverage detected