def METHOD_NAME(self):
    if self._linearized_weight is None:
        kw = self.kernel_size[0]
        weight = self.weight.transpose(2, 1).transpose(1, 0).contiguous()
        assert weight.size() == (self.out_channels, kw, self.in_channels)
        return weight.view(self.out_channels, -1)
    return self._linearized_weight