Home
last modified time | relevance | path

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

12

/third_party/mindspore/mindspore/ops/composite/
Drandom_ops.py79 seed1, seed2 = _get_seed(seed, "normal")
80 stdnormal = P.StandardNormal(seed1, seed2)
126 seed1, seed2 = _get_seed(seed, "laplace")
127 stdlaplace = P.StandardLaplace(seed1, seed2)
192 seed1, seed2 = _get_seed(seed, "uniform")
194 random_uniform = P.UniformInt(seed1, seed2)
197 uniform_real = P.UniformReal(seed1, seed2)
273 seed1, seed2 = _get_seed(seed, "gamma")
274 random_gamma = P.Gamma(seed1, seed2)
322 seed1, seed2 = _get_seed(seed, "poisson")
[all …]
/third_party/boost/libs/container_hash/test/
Dhash_fwd_test_1.cpp38 std::size_t seed1 = 0; in fwd_test2() local
39 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, 5); in fwd_test2()
40 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, 10); in fwd_test2()
49 BOOST_TEST(seed1 == hasher_test_int(x)); in fwd_test2()
71 std::size_t seed1 = in fwd_test3() local
73 BOOST_HASH_TEST_NAMESPACE::hash_range(seed1, values1.begin(), values1.end()); in fwd_test3()
82 BOOST_TEST(seed1 == hasher_test_int(x)); in fwd_test3()
Dhash_built_in_array_test.cpp53 std::size_t seed1 = 0; in two_dimensional_array_test() local
59 BOOST_HASH_TEST_NAMESPACE::hash_combine(seed1, seed2); in two_dimensional_array_test()
62 BOOST_TEST(hasher(array) == seed1); in two_dimensional_array_test()
/third_party/ffmpeg/tests/
Dvideogen.c83 unsigned int seed1; in gen_image() local
113 seed1 = num; in gen_image()
116 r = myrnd(&seed1, 256); in gen_image()
117 g = myrnd(&seed1, 256); in gen_image()
118 b = myrnd(&seed1, 256); in gen_image()
126 seed1 = i; in gen_image()
133 r += myrnd(&seed1, 50); in gen_image()
134 g += myrnd(&seed1, 50); in gen_image()
135 b += myrnd(&seed1, 50); in gen_image()
/third_party/boost/boost/geometry/index/detail/rtree/linear/
Dredistribute_elements.hpp108 size_t & seed1, in apply()
173 seed1 = highest_low_index; in apply()
195 size_t & seed1, in apply()
225 seed1 = lowest_index; in apply()
254 size_t & seed1, in apply()
257 … Parameters, Translator, Dimension - 1>::apply(elements, parameters, tr, separation, seed1, seed2); in apply()
267 seed1 = s1; in apply()
291 size_t & seed1, in apply()
294 find_norm_sep::apply(elements, parameters, tr, separation, seed1, seed2); in apply()
304 size_t & seed1, in pick_seeds() argument
[all …]
/third_party/boost/boost/geometry/index/detail/rtree/quadratic/
Dredistribute_elements.hpp41 size_t & seed1, in pick_seeds() argument
61 seed1 = 0; in pick_seeds()
84 seed1 = i; in pick_seeds()
135 size_t seed1 = 0; in apply() local
137 quadratic::pick_seeds<box_type>(elements_copy, parameters, translator, seed1, seed2); in apply()
149 …elements1.push_back(elements_copy[seed1]); //… in apply()
153 detail::bounds(rtree::element_indexable(elements_copy[seed1], translator), in apply()
159 if (seed1 < seed2) in apply()
163 …rtree::move_from_back(elements_copy, elements_copy.begin() + seed1); // MAY… in apply()
168 …rtree::move_from_back(elements_copy, elements_copy.begin() + seed1); // MAY… in apply()
/third_party/boost/libs/multiprecision/test/
Dconstexpr_test_cpp_int_7.cpp81 constexpr multiprecision_generator(std::uint64_t seed1) : m_gen64(seed1) {} in multiprecision_generator()
82 …r multiprecision_generator(std::uint64_t seed1, std::uint64_t seed2) : m_gen64(seed1 in multiprecision_generator()
83 … multiprecision_generator(std::uint64_t seed1, std::uint64_t seed2, std::uint64_t seed3) : m_g… in multiprecision_generator()
/third_party/boost/boost/random/
Dadditive_combine.hpp108 additive_combine_engine(typename MLCG1::result_type seed1, in additive_combine_engine() argument
110 : _mlcg1(seed1), _mlcg2(seed2) { } in additive_combine_engine()
162 void seed(typename MLCG1::result_type seed1, in seed() argument
165 _mlcg1.seed(seed1); in seed()
/third_party/skia/third_party/externals/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()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_matmul_dropout.py68 seed0, seed1 = _get_graph_seed(0, "dropout")
70 self.seed1 = seed1
73 self.dropout_gen_mask = P.DropoutGenMask(Seed0=self.seed0, Seed1=self.seed1)
/third_party/pixman/test/
Dprng-test.c115 uint32_t ref, seed, seed0, seed1, seed2, seed3; in main() local
137 seed1 = (seed = seed * 1103515245 + 12345); in main()
146 raninit (&x, seed1); in main()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSynchronizationTests.cpp930 int seed1; member
932 static ReadDataInterleaved Generate(int targetHandle, int seed0, int seed1) in Generate()
938 retVal.seed1 = seed1; in Generate()
949 int seed1; member
951 static ReadMultipleData Generate(int targetHandle0, int seed0, int targetHandle1, int seed1) in Generate()
958 retVal.seed1 = seed1; in Generate()
1128 glu::ShaderProgram* genReadMultipleProgram (int seed0, int seed1);
1130 glu::ShaderProgram* genReadInterleavedProgram (int seed0, int seed1);
1236 glu::ShaderProgram* program = genReadMultipleProgram(cmd.seed0, cmd.seed1); in init()
1280 glu::ShaderProgram* program = genReadInterleavedProgram(cmd.seed0, cmd.seed1); in init()
[all …]
/third_party/boost/libs/geometry/test/algorithms/detail/
Dpartition.cpp507 void test_two_collections(int seed1, int seed2, int size, int count) in test_two_collections() argument
512 fill_boxes(boxes1, seed1, size, count); in test_two_collections()
535 filename << "partition_boxes_" << seed1 << "_" << seed2 << ".svg"; in test_two_collections()
576 void test_heterogenuous_collections(int seed1, int seed2, int size, int count) in test_heterogenuous_collections() argument
582 fill_points(points, seed1, size, count); in test_heterogenuous_collections()
601 filename << "partition_heterogeneous_" << seed1 << "_" << seed2 << ".svg"; in test_heterogenuous_collections()
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dcity.h69 uint64_t seed1);
Dcity.cc343 uint64_t seed1) { in CityHash64WithSeeds() argument
344 return HashLen16(CityHash64(s, len) - seed0, seed1); in CityHash64WithSeeds()
/third_party/abseil-cpp/absl/hash/internal/
Dcity.h74 uint64_t seed1);
Dcity.cc340 uint64_t seed1) { in CityHash64WithSeeds() argument
341 return HashLen16(CityHash64(s, len) - seed0, seed1); in CityHash64WithSeeds()
/third_party/mindspore/mindspore/nn/layer/
Dbasic.py157 seed0, seed1 = _get_graph_seed(0, "dropout")
159 self.seed1 = seed1
160 self.dropout = P.Dropout(keep_prob, seed0, seed1)
/third_party/openssl/test/
Dbad_dtls_test.c63 static int do_PRF(const void *seed1, int seed1_len, in do_PRF() argument
75 EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, seed1, seed1_len); in do_PRF()
/third_party/openssl/ssl/
Dt1_enc.c20 const void *seed1, size_t seed1_len, in tls1_PRF() argument
45 || EVP_PKEY_CTX_add1_tls1_prf_seed(pctx, seed1, (int)seed1_len) <= 0 in tls1_PRF()
/third_party/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/KHR/
DKHR_texture_compression_astc_hdr.txt1779 uint8_t seed1 = rnum & 0xF;
1792 seed1 *= seed1; seed2 *= seed2;
1806 seed1 >>= sh1; seed2 >>= sh2; seed3 >>= sh1; seed4 >>= sh2;
1810 int a = seed1*x + seed2*y + seed11*z + (rnum >> 14);

12