Home
last modified time | relevance | path

Searched refs:RandFloat (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/benchmarks/CompletionModel/
DDecisionForestBenchmark.cpp28 auto RandFloat = [&](float Max = 1.0) { in generateRandomDataset() local
48 E.setSemaFileProximityScore(RandFloat(1)); // Float in range [0,1]. in generateRandomDataset()
/external/tensorflow/tensorflow/core/lib/random/
Dsimple_philox.h45 PHILOX_DEVICE_INLINE float RandFloat() { return Uint32ToFloat(single_()); } in RandFloat() function
Ddistribution_sampler.h53 float r = rand->RandFloat(); in Sample()
Dsimple_philox_test.cc34 float f = gen.RandFloat(); in TEST()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_summary_test.cc141 buffer.PushEntry(rand.RandFloat() * max_value, in TEST_F()
142 rand.RandFloat() * max_value); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dclustering_ops.cc160 rng.RandFloat() * min_distances_cumsum(num_points - 1)) - in Compute()
261 if (candidate_distance > rng.RandFloat() * selected_distance) { in Compute()
Dword2vec_kernels.cc158 if (rng_.RandFloat() > keep_prob) { in NextExample()
Dquantization_utils_test.cc239 float v = (rnd.RandFloat() * (input_max - input_min)) + input_min; in TestRequantizeManyInNewRangeEigenVsNonEigen()
291 float v = (rnd.RandFloat() * (input_max - input_min)) + input_min; in TimeRequantizeManyInNewRange()
/external/webrtc/modules/audio_processing/
Daudio_processing_impl_locking_unittest.cc74 float RandFloat() { in RandFloat() function in webrtc::__anon5d3f602b0111::RandomGenerator
465 frame[ch][k] = amplitude * (2 * rand_gen->RandFloat() - 1); in PopulateAudioFrame()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing_test.cc379 float_list->add_value(rng->RandFloat()); in Fuzz()
/external/tensorflow/tensorflow/core/kernels/image/
Dsample_distorted_bounding_box_op.cc358 random.RandFloat() * in DoCompute()
Dscale_and_translate_op_test.cc226 col[n] = rnd.RandFloat(); in SetCheckerboardImageInput()