(pfor_input)
| 2653 | |
| 2654 | @RegisterPFor("Assert") |
| 2655 | def _convert_assert(pfor_input): |
| 2656 | cond, cond_stacked, _ = pfor_input.input(0) |
| 2657 | if cond_stacked: |
| 2658 | cond = math_ops.reduce_all(cond) |
| 2659 | |
| 2660 | data_list = [x.t for x in pfor_input.inputs][1:] |
| 2661 | return _create_op("Assert", [cond] + data_list, [], |
| 2662 | attrs=pfor_input.op.node_def.attr) |
| 2663 | |
| 2664 | |
| 2665 | @RegisterPFor("Print") |
nothing calls this directly
no test coverage detected