def METHOD_NAME(self):
    s = "{in_channels}, {out_channels}, kernel_size={kernel_size}, stride={stride}"
    if self.padding != (0,) * len(self.padding):
        s += ", padding={padding}"
    if self.dilation != (1,) * len(self.dilation):
        s += ", dilation={dilation}"
    if self.groups != 1:
        s += ", groups={groups}"
    if self.bias is None:
        s += ", bias=False"
    if self.padding_mode != "zeros":
        s += ", padding_mode={padding_mode}"
    s += ", n_centroids={n_centroids}, block_size={block_size}"
    return s.format(**self.__dict__)