(input_t)
| 3838 | # The result of this will be a tuple of lists, each of the item in tuple is |
| 3839 | # list of the tensor with shape (batch, feature) |
| 3840 | def _process_single_input_t(input_t): |
| 3841 | input_t = array_ops.unstack(input_t) # unstack for time_step dim |
| 3842 | if go_backwards: |
| 3843 | input_t.reverse() |
| 3844 | return input_t |
| 3845 | |
| 3846 | if nest.is_sequence(inputs): |
| 3847 | processed_input = nest.map_structure(_process_single_input_t, inputs) |