Home
last modified time | relevance | path

Searched refs:allow_mix (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc576 … const std::string &prim_name, const bool allow_mix) { in CheckScalarOrTensorTypesSame() argument
577 auto arg_ = _CheckTypeSame(args, prim_name, allow_mix); in CheckScalarOrTensorTypesSame()
582 const bool allow_mix) { in _CheckTypeSame() argument
594 if (!allow_mix) { in _CheckTypeSame()
609 if (!allow_mix) { in _CheckTypeSame()
Dcheck_convert_utils.h292 bool allow_mix = false);
322 const bool allow_mix);
/third_party/mindspore/mindspore/
D_checkparam.py548 def check_scalar_or_tensor_types_same(args, valid_values, prim_name, allow_mix=False): argument
572 elif allow_mix:
/third_party/mindspore/mindspore/ops/operations/
Dnn_ops.py3144 … validator.check_scalar_or_tensor_types_same(args_lr, valid_dtypes, self.name, allow_mix=True)
3263 … validator.check_scalar_or_tensor_types_same(args_lr, valid_dtypes, self.name, allow_mix=True)