(flat_t)
| 189 | t = tf.reshape(t, [-1, input_shape[-1]]) |
| 190 | |
| 191 | def _unflatten(flat_t): |
| 192 | if len(input_shape) > 2: |
| 193 | return tf.reshape(flat_t, input_shape[:-1] + [shape(flat_t, -1)]) |
| 194 | else: |
| 195 | return flat_t |
| 196 | |
| 197 | return t, _unflatten |
| 198 |
nothing calls this directly
no test coverage detected
searching dependent graphs…