MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _stack_handle_inside_pfor

Function _stack_handle_inside_pfor

tensorflow/python/ops/parallel_for/pfor.py:3036–3041  ·  view source on GitHub ↗
(handle, pfor_input)

Source from the content-addressed store, hash-verified

3034
3035
3036def _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")

Callers 1

_convert_stack_push_v2Function · 0.85

Calls 1

op_is_inside_loopMethod · 0.45

Tested by

no test coverage detected