def __call__(self, x, train=True): links = self.children() h = F.leaky_relu(next(links)(x)) for link in links: h = link(h, train) return h