Home
last modified time | relevance | path

Searched refs:check_positive_float (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/mindspore/nn/
Ddynamic_lr.py69 validator.check_positive_float(learning_rate, 'learning_rate')
71 validator.check_positive_float(decay_rate, 'decay_rate')
241 validator.check_positive_float(max_lr, 'max_lr')
307 validator.check_positive_float(learning_rate, 'learning_rate')
312 validator.check_positive_float(power, 'power')
Dlearning_rate_schedule.py50 validator.check_positive_float(learning_rate, 'learning_rate', cls_name)
52 validator.check_positive_float(decay_rate, 'decay_rate', cls_name)
304 validator.check_positive_float(max_lr, 'max_lr', self.cls_name)
378 validator.check_positive_float(learning_rate, 'learning_rate')
385 validator.check_positive_float(power, 'power', self.cls_name)
/third_party/mindspore/mindspore/nn/probability/toolbox/
Danomaly_detection.py91 threshold = Validator.check_positive_float(threshold)
/third_party/mindspore/mindspore/nn/metrics/
Ddice.py55 self.smooth = validator.check_positive_float(smooth, "smooth")
/third_party/mindspore/mindspore/nn/optim/
Drmsprop.py189 validator.check_positive_float(epsilon, "epsilon", self.cls_name)
Dlazyadam.py103 validator.check_positive_float(eps, "eps", prim_name)
Dlamb.py170 validator.check_positive_float(eps, "eps", prim_name)
Dadam.py186 validator.check_positive_float(eps, "eps", prim_name)
Doptimizer.py138 validator.check_positive_float(loss_scale, "loss_scale", self.cls_name)
/third_party/mindspore/mindspore/parallel/
D_ps_context.py246 Validator.check_positive_float(value, key)
/third_party/mindspore/mindspore/nn/layer/
Dimage.py265 … self.filter_sigma = validator.check_positive_float(filter_sigma, 'filter_sigma', self.cls_name)
362 … self.filter_sigma = validator.check_positive_float(filter_sigma, 'filter_sigma', self.cls_name)
Dembedding.py312 self.max_norm = validator.check_positive_float(self.max_norm, 'max_norm', self.cls_name)
Dthor_layer.py812 self.max_norm = Validator.check_positive_float(self.max_norm, 'max_norm', self.cls_name)
/third_party/mindspore/mindspore/ops/operations/
D_quant_ops.py1048 self.epsilon = validator.check_positive_float(epsilon, 'epsilon', self.name)
1091 self.epsilon = validator.check_positive_float(epsilon, 'epsilon', self.name)
1361 self.epsilon = validator.check_positive_float(epsilon, 'epsilon', self.name)
1389 self.epsilon = validator.check_positive_float(epsilon, 'epsilon', self.name)
1759 validator.check_positive_float(item, "item of search_range", self.name)
Dnn_ops.py5217 self.lr = validator.check_positive_float(lr, "lr", self.name)
7115 self.lr = validator.check_positive_float(lr, "lr", self.name)
7224 self.lr = validator.check_positive_float(lr, "lr", self.name)
/third_party/mindspore/tests/st/fl/mobile/src/
Dadam.py207 validator.check_positive_float(eps, "eps", prim_name)
/third_party/mindspore/tests/st/fl/albert/src/
Dadam.py207 validator.check_positive_float(eps, "eps", prim_name)
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dadam.py206 validator.check_positive_float(eps, "eps", prim_name)
/third_party/mindspore/tests/ut/python/ir/
Dtest_row_tensor.py207 validator.check_positive_float(eps, "eps", prim_name)
/third_party/mindspore/mindspore/nn/loss/
Dloss.py633 self.smooth = validator.check_positive_float(smooth, "smooth")
/third_party/mindspore/mindspore/
D_checkparam.py329 def check_positive_float(arg_value, arg_name=None, prim_name=None): member in Validator