(self)
Weight clipping described in [Wasserstein GAN](https://arxiv.org/abs/1701.07875)
Weight clipping described in [Wasserstein GAN](https://arxiv.org/abs/1701.07875)
Weight clipping described in [ Wasserstein GAN ] ( https : // arxiv . org / abs / 1701 . 07875 )
def _apply_lipshitz_constraint(self):
        """Weight clipping described in [Wasserstein GAN](https://arxiv.org/abs/1701.07875)"""
        for p in self.parameters():
            F.add_update(p, F.clamp(p, lower=-3e-2, upper=3e-2), alpha=0)
def _apply_lipshitz_constraint ( self ) : for p in self . parameters ( ) : F . add_update ( p , F . clamp ( p , lower = - 3e-2 , upper = 3e-2 ) , alpha = 0 )