def init_buffers(self, inputs):
        if self.x is None or self.x is not inputs:
            if self.x is not None:
                for buf in self.bufs_to_reset:
                    buf[:] = 0
            self.x = inputs
            self.xs = get_steps(inputs, self.in_shape)
Initialize buffers for recurrent internal units and outputs.
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/recurrent.py/Recurrent.init_buffers