(node)
| 6930 | return has_side_effects; |
| 6931 | } |
| 6932 | removeDeadBlockOutputs(node) { |
| 6933 | if (node.kind() !== 'prim::If' && node.kind() !== 'prim::GradOf') { |
| 6934 | return; |
| 6935 | } |
| 6936 | for (let i_1 = node.outputs().length; i_1 > 0; i_1--) { |
| 6937 | const i = i_1 - 1; |
| 6938 | if (!node.outputs()[i].hasUses()) { |
| 6939 | node.eraseOutput(i); |
| 6940 | for (const b of node.blocks()) { |
| 6941 | b.eraseOutput(i); |
| 6942 | } |
| 6943 | } |
| 6944 | } |
| 6945 | } |
| 6946 | removeDeadLoopOutputs() { |
| 6947 | } |
| 6948 | getOrCreateAliasDb() { |