def load_params(path, params):
 pp = numpy.load(path)
 for (kk, vv) in params.iteritems():
  if (kk not in pp):
   warnings.warn(('%s is not in the archive' % kk))
   continue
  params[kk] = pp[kk]
 return params

def load_params ( path , params ) : pp = numpy . load ( path ) for ( kk , vv ) in params . iteritems ( ) : if ( kk not in pp ) : warnings . warn ( ( '%s is not in the archive' % kk ) ) continue params [ kk ] = pp [ kk ] return params
load parameters .