def __call__(self, x):
h = None
for name, _ in self.forward:
f = getattr(self, name)
h_t = f(x)
if h is None:
h = h_t
else:
h += h_t
return F.elu(h)