(block)
| 18735 | return 'MIGHT'; |
| 18736 | } |
| 18737 | static owningNodeKind(block) { |
| 18738 | if (block.owningNode()) { |
| 18739 | return block.owningNode().kind(); |
| 18740 | } |
| 18741 | return null; |
| 18742 | } |
| 18743 | static isGraphOrClosureBlock(block) { |
| 18744 | return block.owningNode() === null || torch._C.ExitTransformer.owningNodeKind(block) === 'prim::Closure'; |
| 18745 | } |
no test coverage detected