def __init__(self, global_norm):
        """
        Args:
            global_norm(float): the threshold to clip with.
        """
        super(GlobalNormClip, self).__init__()
        self._norm = float(global_norm)
def __init__ ( self , global_norm ) : super ( GlobalNormClip , self ) . __init__ ( ) self . _norm = float ( global_norm )
Args:
            global_norm(float): the threshold to clip with.