(pfor_input)
| 1882 | |
| 1883 | @RegisterPFor("Pack") |
| 1884 | def _convert_pack(pfor_input): |
| 1885 | pfor_input.stack_inputs() |
| 1886 | axis = pfor_input.get_attr("axis") |
| 1887 | if axis >= 0: |
| 1888 | axis += 1 |
| 1889 | return wrap( |
| 1890 | array_ops.stack([x.t for x in pfor_input.inputs], axis=axis), True) |
| 1891 | |
| 1892 | |
| 1893 | @RegisterPFor("Unpack") |
nothing calls this directly
no test coverage detected