rand -> caffe_rng_rand