Home
last modified time | relevance | path

Searched refs:global_seed (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/common/
Dseed.py208 global_seed = get_seed()
210 if global_seed == 0:
211 global_seed = DEFAULT_GRAPH_SEED
212 elif global_seed is None:
213 global_seed = 0
218 seeds = _truncate_seed(global_seed), _truncate_seed(temp_seed)
249 global_seed = get_seed()
250 if global_seed == 0:
251 global_seed = DEFAULT_GRAPH_SEED
252 elif global_seed is None:
[all …]
Dparameter.py577 global_seed, op_seed = _get_global_and_op_seed()
578 _insert_weight_init_info(self.name, global_seed, op_seed)
Dtensor.py1246 global_seed = get_seed()
1248 self.need_set_seed = ((slice_index is not None) and (global_seed is None))
/third_party/boost/libs/math/test/
Dnorms_test.cpp46 static const constexpr size_t global_seed = 834; variable
148 v = generate_random_vector<Real>(global_size, global_seed); in test_lp()
172 v = generate_random_vector<Complex>(global_size, global_seed); in test_complex_lp()
192 auto v = generate_random_vector<Z>(global_size, global_seed); in test_integer_lp()
217 v = generate_random_vector<Real>(global_size, global_seed); in test_lp_distance()
218 u = generate_random_vector<Real>(global_size, global_seed+1); in test_lp_distance()
240 v = generate_random_vector<Complex>(global_size, global_seed); in test_complex_lp_distance()
241 u = generate_random_vector<Complex>(global_size, global_seed + 1); in test_complex_lp_distance()
258 auto v = generate_random_vector<Z>(global_size, global_seed); in test_integer_lp_distance()
264 auto s = generate_random_vector<Z>(global_size, global_seed + 1); in test_integer_lp_distance()
[all …]
Dunivariate_statistics_test.cpp33 static const constexpr size_t global_seed = 0; variable
115 v = generate_random_vector<Z>(global_size, global_seed); in test_integer_mean()
177 v = generate_random_vector<Real>(global_size, global_seed); in test_mean()
250 v = generate_random_vector<Real>(global_size, global_seed); in test_variance()
290 v = generate_random_vector<Z>(global_size, global_seed); in test_integer_variance()
324 v = generate_random_vector<Z>(global_size, global_seed); in test_integer_skewness()
362 v = generate_random_vector<Real>(global_size, global_seed); in test_skewness()
415 v = generate_random_vector<Real>(global_size, global_seed); in test_kurtosis()
457 v = generate_random_vector<Z>(global_size, global_seed); in test_integer_kurtosis()
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/
D0-opt.wgsl5 global_seed : i32;
26 let x_43 : i32 = x_7.global_seed;
D0-opt.spvasm12 OpMemberName %doesNotMatter 0 "global_seed"
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/graphicsfuzz/
Dbarrier-in-loop-with-break.amber28 # int global_seed;
35 # int val = global_seed;
74 OpMemberName %20 0 "global_seed"
/third_party/mindspore/mindspore/ccsrc/ps/random_normal/
Drandom_normal.cc60 bool InitRandomNormal(float mean, float stddev, std::vector<size_t> out_shape, size_t global_seed, … in InitRandomNormal() argument
83 int64_t seed = SizeToLong(global_seed); in InitRandomNormal()
Drandom_normal.h22 bool InitRandomNormal(float mean, float stddev, std::vector<size_t> out_shape, size_t global_seed, …
/third_party/mindspore/mindspore/parallel/
D_ps_context.py209 def _insert_weight_init_info(name, global_seed, op_seed): argument
210 ps_context().insert_weight_init_info(name, global_seed, op_seed)
/third_party/mindspore/mindspore/ccsrc/ps/core/protos/
Dps.proto41 uint64 global_seed = 3; field
/third_party/mindspore/mindspore/ccsrc/ps/
Dps_context.cc159 void PSContext::InsertWeightInitInfo(const std::string &param_name, size_t global_seed, size_t op_s… in InsertWeightInitInfo() argument
161 ps_cache_instance.InsertWeightInitInfo(param_name, global_seed, op_seed); in InsertWeightInitInfo()
Dps_context.h78 …void InsertWeightInitInfo(const std::string &param_name, size_t global_seed, size_t op_seed) const;
Dparameter_server.cc744 param_init_info.global_seed_ = info.global_seed(); in HandleInitEmbeddings()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dps_cache_manager.h120 void InsertWeightInitInfo(const std::string &param_name, size_t global_seed, size_t op_seed);
Dps_cache_manager.cc67 void PsCacheManager::InsertWeightInitInfo(const std::string &param_name, size_t global_seed, size_t… in InsertWeightInitInfo() argument
76 …S_LOG(INFO) << "Insert embedding table init info:" << param_name << ", global seed:" << global_seed in InsertWeightInitInfo()
80 hash_table_info.param_init_info_.global_seed_ = global_seed; in InsertWeightInitInfo()