Check whether the state_size contains multiple states.
(state_size)
| 2740 | |
| 2741 | |
| 2742 | def _is_multiple_state(state_size): |
| 2743 | """Check whether the state_size contains multiple states.""" |
| 2744 | return (hasattr(state_size, '__len__') and |
| 2745 | not isinstance(state_size, tensor_shape.TensorShape)) |
| 2746 | |
| 2747 | |
| 2748 | def _generate_zero_filled_state_for_cell(cell, inputs, batch_size, dtype): |
no outgoing calls
no test coverage detected