(pfor_input)
| 2664 | |
| 2665 | @RegisterPFor("Print") |
| 2666 | def _convert_print(pfor_input): |
| 2667 | # Note that we don't stack all the inputs. Hence unstacked values are printed |
| 2668 | # once here vs multiple times in a while_loop. |
| 2669 | pfor_input.stack_inputs([0]) |
| 2670 | outputs = _create_op( |
| 2671 | "Print", [x.t for x in pfor_input.inputs], |
| 2672 | [x.dtype for x in pfor_input.outputs], |
| 2673 | attrs=pfor_input.op.node_def.attr).outputs |
| 2674 | return [wrap(x, True) for x in outputs] |
| 2675 | |
| 2676 | |
| 2677 | # data_flow_ops |
nothing calls this directly
no test coverage detected