def __call__(self, c, x, a, b, y): u = XP.dropout(functions.tanh(self.w_xu(x) + self.w_au(a) + self.w_bu(b))) c, h = functions.lstm(c, self.w_uy(u) + self.w_yy(y)) return c, XP.dropout(h)