def rand(*shape):
 return backend.id_srand(np.prod(shape)).reshape(shape)

def rand ( * shape ) : return backend . id_srand ( np . prod ( shape ) ) . reshape ( shape )
generate standard uniform pseudorandom numbers via a very efficient lagged fibonacci method .