

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)

dataset/ETHPy150Open NervanaSystems/neon/neon/layers/container.py LayerContainer.load_weights/original