def __call__(self, h):
    if self.dr:
        with chainer.using_config('train', True):
            h = F.dropout(h, self.dr)
    h = self.c(h)
    if self.bn:
        h = self.b(h)
    if self.activation:
        h = self.activation(h)
    return h
def __call__(self, h):
    if self.dr:
        with chainer.using_config('train', True):
            h = F.dropout(h, self.dr)
    h = self.c(h)
    if self.bn:
        h = self.b(h)
    if self.activation:
        h = self.activation(h)
    return h