Home
last modified time | relevance | path

Searched refs:RNG (Results 1 – 25 of 88) sorted by relevance

1234

/external/angle/util/
Drandom_utils.cpp20 RNG::RNG() in RNG() function in angle::RNG
27 RNG::RNG(unsigned int seed) : mGenerator(seed) {} in RNG() function in angle::RNG
29 RNG::~RNG() {} in ~RNG()
31 void RNG::reseed(unsigned int newSeed) in reseed()
36 bool RNG::randomBool(float probTrue) in randomBool()
42 int RNG::randomInt() in randomInt()
48 int RNG::randomIntBetween(int min, int max) in randomIntBetween()
54 unsigned int RNG::randomUInt() in randomUInt()
60 float RNG::randomFloat() in randomFloat()
66 float RNG::randomFloatBetween(float min, float max) in randomFloatBetween()
[all …]
Drandom_utils.h22 class ANGLE_UTIL_EXPORT RNG
26 RNG();
28 RNG(unsigned int seed);
29 ~RNG();
59 inline void FillVectorWithRandomUBytes(RNG *rng, std::vector<uint8_t> *data) in FillVectorWithRandomUBytes()
69 RNG rng; in FillVectorWithRandomUBytes()
75 RNG rng(seed); in RandomVec4()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RngSkip.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
22 summary: "Advance the counter of a counter-based RNG."
24 The state of the RNG after
Dapi_def_RngReadAndSkip.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
28 summary: "Advance the counter of a counter-based RNG."
30 The state of the RNG after
Dapi_def_StatelessRandomGetAlg.pbtxt7 The RNG algorithm (shape int32[]).
10 summary: "Picks the best counter-based RNG algorithm based on device."
12 This op picks the best counter-based RNG algorithm based on device.
Dapi_def_StatelessRandomGetKeyCounterAlg.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Counter for the counter-based RNG algorithm. Since counter size is algorithm-dependent, this output…
25 The RNG algorithm (shape int32[]).
30 This op picks the best counter-based RNG algorithm based on device, and scrambles a shape-[2] seed …
Dapi_def_StatelessRandomGetKeyCounter.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Counter for the counter-based RNG algorithm. Since counter size is algorithm-dependent, this output…
24 This op scrambles a shape-[2] seed into a key and a counter, both needed by counter-based RNG algor…
Dapi_def_StatelessRandomNormalV2.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the …
25 The RNG algorithm (shape int32[]).
Dapi_def_StatelessRandomUniformFullIntV2.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the …
25 The RNG algorithm (shape int32[]).
Dapi_def_StatelessTruncatedNormalV2.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the …
25 The RNG algorithm (shape int32[]).
Dapi_def_StatelessRandomUniformIntV2.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the …
25 The RNG algorithm (shape int32[]).
Dapi_def_StatelessRandomUniformV2.pbtxt13 Key for the counter-based RNG algorithm (shape uint64[1]).
19 Initial counter for the counter-based RNG algorithm (shape uint64[2] or uint64[1] depending on the …
25 The RNG algorithm (shape int32[]).
Dapi_def_StatefulStandardNormalV2.pbtxt6 The handle of the resource variable that stores the state of the RNG.
12 The RNG algorithm.
Dapi_def_StatefulUniformFullInt.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
Dapi_def_StatefulUniform.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
Dapi_def_StatefulTruncatedNormal.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
Dapi_def_StatefulUniformInt.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
/external/tensorflow/tensorflow/core/kernels/
Drandom_op_test.cc61 #define BM_RNG(DEVICE, RNG) \ argument
62 void BM_##DEVICE##_##RNG(::testing::benchmark::State& state) { \
65 test::Benchmark(#DEVICE, RNG(arg), /*old_benchmark_api*/ false) \
69 BENCHMARK(BM_##DEVICE##_##RNG)->Range(1 << 20, 8 << 20);
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dstm32l4xx_hal_msp.c94 if(hrng->Instance==RNG) in HAL_RNG_MspInit()
111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dstm32l4xx_hal_msp.c94 if(hrng->Instance==RNG) in HAL_RNG_MspInit()
111 if(hrng->Instance==RNG) in HAL_RNG_MspDeInit()
/external/rust/crates/futures-util/src/async_await/
Drandom.rs29 static RNG: Cell<Wrapping<u64>> = Cell::new(Wrapping(prng_seed())); in random() constant
45 RNG.with(|rng| { in random()
/external/guava/android/guava-tests/test/com/google/common/math/
DQuantilesAlgorithmTest.java35 private static final Random RNG = new Random(82674067L); field in QuantilesAlgorithmTest
49 dataset[i] = RNG.nextDouble(); in setUp()
/external/guava/guava-tests/test/com/google/common/math/
DQuantilesAlgorithmTest.java35 private static final Random RNG = new Random(82674067L); field in QuantilesAlgorithmTest
49 dataset[i] = RNG.nextDouble(); in setUp()
/external/rust/crates/crossbeam-channel/src/
Dutils.rs20 static RNG: Cell<Wrapping<u32>> = Cell::new(Wrapping(1_406_868_647)); in shuffle() constant
23 let _ = RNG.try_with(|rng| { in shuffle()
/external/swiftshader/third_party/subzero/unittest/
DIceELFSectionTest.cpp97 RandomNumberGeneratorWrapper RNG(R); in TEST() local
100 RandomShuffle(Strings.begin(), Strings.end(), RNG); in TEST()

1234