Home
last modified time | relevance | path

Searched refs:_check_value (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/tests/ut/python/utils/
Dtest_initializer.py43 def _check_value(tensor, value_min, value_max): function
62 _check_value(tensor.init_data(), 2, 2)
74 _check_value(tensor.init_data(), 0, 0)
79 _check_value(tensor.init_data(), 0, 0)
85 _check_value(tensor.init_data(), 0, 0)
90 _check_value(tensor.init_data(), 0, 0)
95 _check_value(tensor.init_data(), 1, 1)
100 _check_value(tensor.init_data(), 1, 1)
105 _check_value(tensor.init_data(), 1, 1)
111 _check_value(tensor.init_data(), -scale, scale)
[all …]
/third_party/mindspore/mindspore/nn/probability/distribution/
Dcauchy.py249 value = self._check_value(value, 'value')
269 value = self._check_value(value, 'value')
289 value = self._check_value(value, 'value')
316 loc_b = self._check_value(loc_b, 'loc_b')
318 scale_b = self._check_value(scale_b, 'scale_b')
Dgumbel.py177 value = self._check_value(value, 'value')
187 value = self._check_value(value, 'value')
217 loc_b = self._check_value(loc_b, 'loc_b')
218 scale_b = self._check_value(scale_b, 'scale_b')
Dlogistic.py255 value = self._check_value(value, 'value')
273 value = self._check_value(value, 'value')
291 value = self._check_value(value, 'value')
309 value = self._check_value(value, 'value')
327 value = self._check_value(value, 'value')
Dnormal.py245 value = self._check_value(value, 'value')
266 value = self._check_value(value, 'value')
289 mean_b = self._check_value(mean_b, 'mean_b')
290 sd_b = self._check_value(sd_b, 'sd_b')
Dexponential.py242 value = self._check_value(value, "value")
265 value = self._check_value(value, 'value')
287 value = self._check_value(value, 'value')
305 rate_b = self._check_value(rate_b, 'rate_b')
Dgamma.py289 value = self._check_value(value, 'value')
309 value = self._check_value(value, 'value')
331 concentration_b = self._check_value(concentration_b, 'concentration_b')
332 rate_b = self._check_value(rate_b, 'rate_b')
Duniform.py270 value = self._check_value(value, 'value')
294 low_b = self._check_value(low_b, 'low_b')
296 high_b = self._check_value(high_b, 'high_b')
319 value = self._check_value(value, 'value')
Dgeometric.py249 value = self._check_value(value, 'value')
271 value = self._check_value(value, 'value')
294 probs1_b = self._check_value(probs1_b, 'probs1_b')
Dbernoulli.py242 value = self._check_value(value, 'value')
264 value = self._check_value(value, 'value')
294 probs1_b = self._check_value(probs1_b, 'probs1_b')
Dbeta.py291 value = self._check_value(value, 'value')
316 concentration1_b = self._check_value(concentration1_b, 'concentration1_b')
317 concentration0_b = self._check_value(concentration0_b, 'concentration0_b')
Dpoisson.py214 value = self._check_value(value, "value")
241 value = self._check_value(value, 'value')
Dcategorical.py239 probs_b = self._check_value(probs_b, 'probs_b')
267 value = self._check_value(value, 'value')
333 value = self._check_value(value, 'value')
Ddistribution.py208 def _check_value(self, value, name): member in Distribution
/third_party/mindspore/mindspore/ops/composite/
Dclip_ops.py137 def _check_value(clip_norm): function
176 clip_norm = _check_value(clip_norm)
/third_party/mindspore/mindspore/parallel/
D_ps_context.py155 _check_value(key, value)
235 def _check_value(key, value): function
/third_party/mindspore/mindspore/nn/metrics/
Daccuracy.py86 self._check_value(y_pred, y)
Dprecision.py100 self._check_value(y_pred, y)
Drecall.py100 self._check_value(y_pred, y)
Dmetric.py271 def _check_value(self, y_pred, y): member in EvaluationBase
/third_party/mindspore/mindspore/nn/probability/bijector/
Dbijector.py217 def _check_value(self, value, name): member in Bijector
/third_party/python/Lib/
Dargparse.py2435 self._check_value(action, value)
2445 self._check_value(action, value)
2451 self._check_value(action, value)
2460 self._check_value(action, value[0])
2470 self._check_value(action, v)
2501 def _check_value(self, action, value): member in ArgumentParser