'Load weights.
Arguments:
pdict:
load_states:  (Default value = True)
Returns:'

def load_weights(self, pdict, load_states=True):

    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)
