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

        Arguments:
            pdict:
            load_states:  (Default value = True)

        Returns:
Load weights.
Load weights .
def load_weights(self, pdict, load_states=True):
        """
        Load weights.

        Arguments:
            pdict:
            load_states:  (Default value = True)

        Returns:

        """
        pdict['config']['layers'] = self.fusion_pass(pdict['config']['layers'])

        assert len(pdict['config']['layers']) == len(self.layers)
        for branch, bdict in zip(self.layers, pdict['config']['layers']):
            branch.load_weights(bdict, load_states=load_states)
def load_weights ( self , pdict , load_states = True ) : pdict [ 'config' ] [ 'layers' ] = self . fusion_pass ( pdict [ 'config' ] [ 'layers' ] ) assert len ( pdict [ 'config' ] [ 'layers' ] ) == len ( self . layers ) for branch , bdict in zip ( self . layers , pdict [ 'config' ] [ 'layers' ] ) : branch . load_weights ( bdict , load_states = load_states )