(block)
| 18741 | return null; |
| 18742 | } |
| 18743 | static isGraphOrClosureBlock(block) { |
| 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); |
no test coverage detected