(b)
| 18744 | return block.owningNode() === null || torch._C.ExitTransformer.owningNodeKind(block) === 'prim::Closure'; |
| 18745 | } |
| 18746 | static removeOutputs(b) { |
| 18747 | while (b.outputs().length > 0) { |
| 18748 | b.eraseOutput(0); |
| 18749 | } |
| 18750 | } |
| 18751 | static registerBlockOutputs(b, outs) { |
| 18752 | for (const out of outs) { |
| 18753 | b.registerOutput(out); |
no test coverage detected