def __init__(self, model, sess=None, dtypestr='float32', **kwargs):
    """
    Create a FastFeatureAdversaries instance.
    """
    super(FastFeatureAdversaries, self).__init__(model, sess, dtypestr,
                                                 **kwargs)
    self.feedable_kwargs = ('eps', 'eps_iter', 'clip_min', 'clip_max')
    self.structural_kwargs = ['ord', 'nb_iter', 'layer']

    assert isinstance(self.model, Model)
def __init__ ( self , model , sess = None , dtypestr = 'float32' , ** kwargs ) : super ( FastFeatureAdversaries , self ) . __init__ ( model , sess , dtypestr , ** kwargs ) self . feedable_kwargs = ( 'eps' , 'eps_iter' , 'clip_min' , 'clip_max' ) self . structural_kwargs = [ 'ord' , 'nb_iter' , 'layer' ] assert isinstance ( self . model , Model )
Create a FastFeatureAdversaries instance.