Home
last modified time | relevance | path

Searched refs:seed1 (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py83 seed1, seed2 = random_seed.get_seed(seed)
85 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
148 seed1, seed2 = random_seed.get_seed(seed)
150 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
208 seed1, seed2 = random_seed.get_seed(seed)
210 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
299 seed1, seed2 = random_seed.get_seed(seed)
304 unigrams=unigrams, seed=seed1, seed2=seed2, name=name)
337 seed1, seed2 = random_seed.get_seed(seed)
339 true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2,
[all …]
Drandom_ops.py90 seed1, seed2 = random_seed.get_seed(seed)
92 shape_tensor, dtype, seed=seed1, seed2=seed2)
143 seed1, seed2 = random_seed.get_seed(seed)
150 seed=seed1,
191 seed1, seed2 = random_seed.get_seed(seed)
193 shape_tensor, dtype, seed=seed1, seed2=seed2)
290 seed1, seed2 = random_seed.get_seed(seed)
293 shape, minval, maxval, seed=seed1, seed2=seed2, name=name)
296 shape, dtype, seed=seed1, seed2=seed2)
340 seed1, seed2 = random_seed.get_seed(seed)
[all …]
Dstateful_random_ops_test.py379 seed1, seed2 = 79, 25
383 gen = random.Generator(state=[0, seed2, seed1],
390 return old(dtype, seed1, seed2)
405 def old_normal(dtype, seed1, seed2): argument
407 shape, dtype=dtype, seed=seed1, seed2=seed2)
410 def old_truncated_normal(dtype, seed1, seed2): argument
412 shape, dtype=dtype, seed=seed1, seed2=seed2)
415 def old_uniform_int(dtype, seed1, seed2): argument
419 shape, minval=minval2, maxval=maxval2, seed=seed1, seed2=seed2)
422 def old_uniform(dtype, seed1, seed2): argument
[all …]
Ddata_flow_ops.py686 seed1, seed2 = random_seed.get_seed(seed)
687 if seed1 is None and seed2 is None:
688 seed1, seed2 = 0, 0
694 string = (str(seed1) + shared_name).encode("utf-8")
701 seed=seed1,
Dnn_ops.py4692 seed1, seed2 = random_seed.get_seed(seed)
4695 seed=seed1, seed2=seed2, name=name)
4819 seed1, seed2 = random_seed.get_seed(seed)
4822 seed=seed1, seed2=seed2, name=name)
Dimage_ops_impl.py2766 seed1, seed2 = random_seed.get_seed(seed) if seed else (0, 0)
2767 return sample_distorted_bounding_box(image_size, bounding_boxes, seed1, seed2,
/external/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c71 const uint8_t *seed1, size_t seed1_len, in tls1_P_hash() argument
86 !HMAC_Update(&ctx, seed1, seed1_len) || in tls1_P_hash()
100 !HMAC_Update(&ctx, seed1, seed1_len) || in tls1_P_hash()
141 const uint8_t *seed1, size_t seed1_len, in CRYPTO_tls1_prf() argument
153 label_len, seed1, seed1_len, seed2, seed2_len)) { in CRYPTO_tls1_prf()
164 seed1, seed1_len, seed2, seed2_len); in CRYPTO_tls1_prf()
Dinternal.h31 const uint8_t *seed1, size_t seed1_len,
/external/tensorflow/tensorflow/core/kernels/
Dstateless_random_ops.cc35 uint64 seed1; in GenerateKey() local
39 seed1 = internal::SubtleMustCopy(seed_vals(1)); in GenerateKey()
43 seed1 = internal::SubtleMustCopy(seed_vals(1)); in GenerateKey()
55 (*out_counter)[2] = static_cast<uint32>(seed1); in GenerateKey()
56 (*out_counter)[3] = static_cast<uint32>(seed1 >> 32); in GenerateKey()
/external/swiftshader/third_party/astc-encoder/Source/
Dastc_partition_tables.cpp139 uint8_t seed1 = rnum & 0xF; in select_partition() local
154 seed1 *= seed1; in select_partition()
180 seed1 >>= sh1; in select_partition()
194 int a = seed1 * x + seed2 * y + seed11 * z + (rnum >> 14); in select_partition()
/external/libtextclassifier/native/utils/hash/
Dfarmhash.h85 uint64_t seed0, uint64_t seed1);
212 inline uint64_t Hash64WithSeeds(const Str& s, uint64_t seed0, uint64_t seed1) { in Hash64WithSeeds() argument
214 return Hash64WithSeeds(s.data(), s.length(), seed0, seed1); in Hash64WithSeeds()
Dfarmhash.cc513 uint64_t Hash64WithSeeds(const char *s, size_t len, uint64_t seed0, uint64_t seed1);
519 uint64_t Hash64WithSeeds(const char *s, size_t len, uint64_t seed0, uint64_t seed1) { in Hash64WithSeeds() argument
520 return HashLen16(Hash64(s, len) - seed0, seed1); in Hash64WithSeeds()
1468 uint64_t Hash64WithSeeds(const char* s, size_t len, uint64_t seed0, uint64_t seed1) { in Hash64WithSeeds() argument
1469 return DebugTweak(farmhashna::Hash64WithSeeds(s, len, seed0, seed1)); in Hash64WithSeeds()
/external/deqp/modules/gles31/functional/
Des31fSynchronizationTests.cpp924 int seed1; member
926 static ReadDataInterleaved Generate(int targetHandle, int seed0, int seed1) in Generate()
932 retVal.seed1 = seed1; in Generate()
943 int seed1; member
945 static ReadMultipleData Generate(int targetHandle0, int seed0, int targetHandle1, int seed1) in Generate()
952 retVal.seed1 = seed1; in Generate()
1122 glu::ShaderProgram* genReadMultipleProgram (int seed0, int seed1);
1124 glu::ShaderProgram* genReadInterleavedProgram (int seed0, int seed1);
1231 glu::ShaderProgram* program = genReadMultipleProgram(cmd.seed0, cmd.seed1); in init()
1275 glu::ShaderProgram* program = genReadInterleavedProgram(cmd.seed0, cmd.seed1); in init()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateless_random_ops.cc71 xla::XlaOp seed1 = xla::Reshape(xla::Slice(seeds, {1}, {2}, {1}), {}); in StatelessRngUniform() local
73 ShiftLeft(ConvertElementType(seed1, xla::U64), in StatelessRngUniform()
225 xla::XlaOp seed1 = xla::Reshape(xla::Slice(seed, {1}, {2}, {1}), {}); in Compile() local
228 ShiftLeft(ConvertElementType(seed1, xla::U64), in Compile()
/external/tensorflow/tensorflow/core/kernels/data/
Drandom_seed_ops.cc38 void RandomSeedGenerator::GenerateRandomSeeds(int64* seed1, int64* seed2) { in GenerateRandomSeeds() argument
41 *seed1 = generator_(); in GenerateRandomSeeds()
Drandom_seed_ops.h41 void GenerateRandomSeeds(int64* seed1, int64* seed2);
/external/boringssl/src/ssl/
Dt1_enc.cc160 Span<const uint8_t> seed1, Span<const uint8_t> seed2) { in tls1_prf() argument
163 seed1.data(), seed1.size(), seed2.data(), in tls1_prf()
/external/oss-fuzz/projects/mysql-server/
Dfix.diff103 rand_st->seed1 = (rand_st->seed1 * 3 + rand_st->seed2) % rand_st->max_value;
104 rand_st->seed2 = (rand_st->seed1 + rand_st->seed2 + 33) % rand_st->max_value;
105 return (((double)rand_st->seed1) / rand_st->max_value_dbl);
/external/tensorflow/tensorflow/examples/tutorials/mnist/
Dinput_data.py149 seed1, seed2 = random_seed.get_seed(seed)
151 numpy.random.seed(seed1 if seed is None else seed2)
/external/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp289 uint8_t seed1 = rnum & 0xF; in select_partition() local
302 seed1 *= seed1; in select_partition()
325 seed1 >>= sh1; in select_partition()
338 int a = seed1 * x + seed2 * y + seed11 * z + (rnum >> 14); in select_partition()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c231 static void prf_prime(const u8 *k, const char *seed1, in prf_prime() argument
252 addr[1] = (const u8 *) seed1; in prf_prime()
253 len[1] = os_strlen(seed1); in prf_prime()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h691 typedef struct{ uint x; uint c; uint seed0; ulong seed1; } mwc64x_state_t;
707 uint2 tmp=MWC_SkipImpl_Mod64((uint2)(s->x,s->c), s->seed0, s->seed1, distance);
714 uint2 tmp=MWC_SeedImpl_Mod64(s->seed0, s->seed1, 1, 0, baseOffset, perStreamOffset);
836 const unsigned int seed1,const unsigned int numRandomNumbersPerPixel,
841 rng.seed1 = seed1;
/external/deqp/framework/common/
DtcuAstcUtil.cpp1352 deUint8 seed1 = (deUint8)( rnum & 0xf); in computeTexelPartition() local
1365 seed1 = (deUint8)(seed1 * seed1 ); in computeTexelPartition()
1384 seed1 = (deUint8)(seed1 >> sh1); in computeTexelPartition()
1397 const int a = 0x3f & (seed1*x + seed2*y + seed11*z + (rnum >> 14)); in computeTexelPartition()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc241 const int seed1 = GetRandomSeedFromFlag(-1); in TEST() local
242 EXPECT_LE(1, seed1); in TEST()
243 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); in TEST()
/external/googletest/googletest/test/
Dgtest_unittest.cc323 const int seed1 = GetRandomSeedFromFlag(-1); in TEST() local
324 EXPECT_LE(1, seed1); in TEST()
325 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); in TEST()

12