Searched refs:float_rand (Results 1 – 2 of 2) sorted by relevance
26 std::function<float(int)> float_rand = [](int idx) { in TEST() local34 const auto& data = GenerateRandomTensor<float>({1, 3, 4}, float_rand); in TEST()
138 auto float_rand = []() { return std::rand() * 2.f / RAND_MAX - 1; }; in TEST_F() local139 std::generate(noise_data_.begin(), noise_data_.end(), float_rand); in TEST_F()144 std::generate(clear_data_.begin(), clear_data_.end(), float_rand); in TEST_F()