Home
last modified time | relevance | path

Searched refs:check_is_int (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/tests/ut/python/nn/
Dtest_checkparameter.py26 assert Validator.check_is_int(a) == a
30 Validator.check_is_int(3.3)
34 Validator.check_is_int("str")
38 Validator.check_is_int(True)
42 Validator.check_is_int(True)
44 Validator.check_is_int(False)
/third_party/mindspore/tests/ut/python/pynative_mode/nn/
Dtest_checkparameter.py29 assert Validator.check_is_int(3) == 3
48 Validator.check_is_int(3.3)
53 Validator.check_is_int("str")
58 Validator.check_is_int(True)
/third_party/mindspore/mindspore/nn/layer/
Dtimedistributed.py110 Validator.check_is_int(time_axis, "time_axis", self.cls_name)
112 Validator.check_is_int(reshape_with_axis, "reshape_with_axis", self.cls_name)
Dbasic.py1001 Validator.check_is_int(k, "k value", "tril")
1088 Validator.check_is_int(k, "k value", "triu")
/third_party/mindspore/mindspore/ops/operations/
Dcomm_ops.py684 validator.check_is_int(split_count, int)
685 validator.check_is_int(split_dim, int)
686 validator.check_is_int(concat_dim, int)
D_grad_ops.py1645 validator.check_is_int(dim, int)
/third_party/mindspore/mindspore/ops/composite/
Darray_ops.py28 arg_value = validator.check_is_int(arg_value, arg_name, op_name)
/third_party/mindspore/mindspore/train/train_thor/
Ddataset_helper.py66 Validator.check_is_int(sink_size)
/third_party/mindspore/mindspore/train/
Dmodel.py711 Validator.check_is_int(sink_size)
960 Validator.check_is_int(sink_size)
Ddataset_helper.py227 Validator.check_is_int(sink_size)
/third_party/mindspore/mindspore/
D_checkparam.py241 def check_is_int(arg_value, arg_name=None, prim_name=None): member in Validator