(handle, pfor_input)
| 3034 | |
| 3035 | |
| 3036 | def _stack_handle_inside_pfor(handle, pfor_input): |
| 3037 | while handle.op.type in ["Identity", "Enter"]: |
| 3038 | handle = handle.op.inputs[0] |
| 3039 | assert handle.op.type == "StackV2", ( |
| 3040 | "Unable to find StackV2 op. Got %s" % handle.op) |
| 3041 | return pfor_input.pfor.op_is_inside_loop(handle.op) |
| 3042 | |
| 3043 | |
| 3044 | @RegisterPFor("StackPushV2") |
no test coverage detected