def realForward(self, X):
        Y2 = np.zeros((self.N, self.T, self.D2))
        for t in range(self.T):
            Y2[:, t, :] = self.sigm_.forward(
                np.concatenate((X[:, t, :], Y2[:, t-1, :], Y2[:, t-2, :]), axis=-1))
        return Y2
dataset/ETHPy150Open renmengye/imageqa-public/src/nn/recurrent_tests.py/Recurrent_Tests.realForward/original