(self)
| 599 | return math_ops.reduce_max(array_ops.shape(nest.flatten(inputs)[0])[0]) |
| 600 | |
| 601 | def Compute(self): |
| 602 | return _Pack( |
| 603 | self._forward(*_Flatten([ |
| 604 | self._theta, self._state, self._inputs, self._max_input_length, |
| 605 | self._extras |
| 606 | ])), [self._state, self._state, self._extras])[:2] |
| 607 | |
| 608 | |
| 609 | def _GetCellGrad(cell_fn, cell_grad): |