Lines Matching refs:prnd

229     int new_height, common::RANDOM_ENGINE *prnd) {  in GetInterMethod()  argument
240 return rand_uniform_int(*prnd); in GetInterMethod()
246 common::RANDOM_ENGINE *prnd) override { in Process() argument
274 src.cols, src.rows, new_width, new_height, prnd); in Process()
289 float s = rand_uniform(*prnd) * param_.max_shear_ratio * 2 - param_.max_shear_ratio; in Process()
292 -param_.max_rotate_angle, param_.max_rotate_angle)(*prnd); in Process()
295 angle = rotate_list_[std::uniform_int_distribution<int>(0, rotate_list_.size() - 1)(*prnd)]; in Process()
302 scale = rand_uniform(*prnd) * in Process()
308 ratio = rand_uniform(*prnd) * in Process()
331 res.cols, res.rows, new_width, new_height, prnd); in Process()
370 float rand_area = rand_uniform_area(*prnd); in Process()
371 float ratio = rand_uniform_ratio(*prnd); in Process()
375 if (rand_uniform(*prnd) > 0.5) { in Process()
382 std::uniform_int_distribution<index_t>(0, res.rows - y_area)(*prnd); in Process()
384 std::uniform_int_distribution<index_t>(0, res.cols - x_area)(*prnd); in Process()
388 param_.data_shape[1], prnd); in Process()
403 std::uniform_int_distribution<index_t>(param_.min_crop_size, param_.max_crop_size)(*prnd); in Process()
407 y = std::uniform_int_distribution<index_t>(0, y)(*prnd); in Process()
408 x = std::uniform_int_distribution<index_t>(0, x)(*prnd); in Process()
414 param_.data_shape[2], param_.data_shape[1], prnd); in Process()
424 param_.data_shape[1], prnd); in Process()
445 y = std::uniform_int_distribution<index_t>(0, y)(*prnd); in Process()
446 x = std::uniform_int_distribution<index_t>(0, x)(*prnd); in Process()
458 param_.brightness)(*prnd); in Process()
460 param_.contrast)(*prnd); in Process()
462 param_.saturation)(*prnd); in Process()
464 std::shuffle(std::begin(rand_order), std::end(rand_order), *prnd); in Process()
490 float rh = rand_uniform(*prnd); rh += 4 * rand_uniform(*prnd); rh = rh / 5; in Process()
491 float rs = rand_uniform(*prnd); rs += 4 * rand_uniform(*prnd); rs = rs / 5; in Process()
492 float rl = rand_uniform(*prnd); rl += 4 * rand_uniform(*prnd); rl = rl / 5; in Process()
514 float pca_alpha_r = rand_normal(*prnd); in Process()
515 float pca_alpha_g = rand_normal(*prnd); in Process()
516 float pca_alpha_b = rand_normal(*prnd); in Process()