(self, pdict, load_states=True)
Load weights.

        Arguments:
            pdict:
            load_states:  (Default value = True)
Load weights.
Load weights .
def load_weights(self, pdict, load_states=True):
        """
        Load weights.

        Arguments:
            pdict:
            load_states:  (Default value = True)
        """
        self.set_params(pdict)
        if load_states:
            self.set_states(pdict)
def load_weights ( self , pdict , load_states = True ) : self . set_params ( pdict ) if load_states : self . set_states ( pdict )