def __init__(self, model, sess=None, dtypestr='float32',
               default_rand_init=True, **kwargs):
    """
    Create a ProjectedGradientDescent instance.
    Note: the model parameter should be an instance of the
    cleverhans.model.Model abstraction provided by CleverHans.
    """

    super(ProjectedGradientDescent, self).__init__(model, sess=sess,
                                                   dtypestr=dtypestr, **kwargs)
    self.feedable_kwargs = ('eps', 'eps_iter', 'y', 'y_target', 'clip_min',
                            'clip_max')
    self.structural_kwargs = ['ord', 'nb_iter', 'rand_init', 'sanity_checks']
    self.default_rand_init = default_rand_init
def __init__ ( self , model , sess = None , dtypestr = 'float32' , default_rand_init = True , ** kwargs ) : super ( ProjectedGradientDescent , self ) . __init__ ( model , sess = sess , dtypestr = dtypestr , ** kwargs ) self . feedable_kwargs = ( 'eps' , 'eps_iter' , 'y' , 'y_target' , 'clip_min' , 'clip_max' ) self . structural_kwargs = [ 'ord' , 'nb_iter' , 'rand_init' , 'sanity_checks' ] self . default_rand_init = default_rand_init
Create a ProjectedGradientDescent instance.
    Note: the model parameter should be an instance of the
    cleverhans.model.Model abstraction provided by CleverHans.