Home
last modified time | relevance | path

Searched refs:float_rand (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/testing/
Dgenerate_testspec_test.cc26 std::function<float(int)> float_rand = [](int idx) { in TEST() local
34 const auto& data = GenerateRandomTensor<float>({1, 3, 4}, float_rand); in TEST()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer_unittest.cc138 auto float_rand = []() { return std::rand() * 2.f / RAND_MAX - 1; }; in TEST_F() local
139 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()