'Load the parameters for this edge.
Load the parameters if present in self.proto. Otherwise initialize them
appropriately.'

def LoadParams(self, proto, t_op=None, tied_to=None):

    param_names = [param.name for param in proto.param]
    for param in proto.param:
        assert param.dimensions, 'Empty    dimensions'
        if tied_to:
            if self.transpose:
                self.params[param.name] = tied_to.params[param.name].T
            else:
                self.params[param.name] = tied_to.params[param.name]
            mat = self.params[param.name]
        else:
            if param.mat:
                mat = util.ParameterAsNumpy(param)
            else:
                mat = self.InitializeParameter(param)
            self.params[param.name] = cm.CUDAMatrix(mat)
