def __repr__(self):
    s = '{name}({content}'
    if hasattr(self, 'in_channels'):
        s += ', in_channels={0}'.format(self.in_channels)
    s += ')'
    return s.format(name=self.__class__.__name__, content=', '.join(['='.join([k, v.__repr__()]) for (k, v) in self._kwargs.items()]))
def __repr__(self):
    s = '{name}({content}'
    if hasattr(self, 'in_channels'):
        s += ', in_channels={0}'.format(self.in_channels)
    s += ')'
    return s.format(name=self.__class__.__name__, content=', '.join(['='.join([k, v.__repr__()]) for (k, v) in self._kwargs.items()]))