keras/src/layers/rnn/simple_rnn.py/SimpleRNNCell/get_initial_state
class SimpleRNNCell:    def get_initial_state(self, batch_size=None):
        return [
            ops.zeros((batch_size, self.state_size), dtype=self.compute_dtype)
        ]