Searched refs:check_is_int (Results 1 – 11 of 11) sorted by relevance
/third_party/mindspore/tests/ut/python/nn/ |
D | test_checkparameter.py | 26 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/ |
D | test_checkparameter.py | 29 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/ |
D | timedistributed.py | 110 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)
|
D | basic.py | 1001 Validator.check_is_int(k, "k value", "tril") 1088 Validator.check_is_int(k, "k value", "triu")
|
/third_party/mindspore/mindspore/ops/operations/ |
D | comm_ops.py | 684 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.py | 1645 validator.check_is_int(dim, int)
|
/third_party/mindspore/mindspore/ops/composite/ |
D | array_ops.py | 28 arg_value = validator.check_is_int(arg_value, arg_name, op_name)
|
/third_party/mindspore/mindspore/train/train_thor/ |
D | dataset_helper.py | 66 Validator.check_is_int(sink_size)
|
/third_party/mindspore/mindspore/train/ |
D | model.py | 711 Validator.check_is_int(sink_size) 960 Validator.check_is_int(sink_size)
|
D | dataset_helper.py | 227 Validator.check_is_int(sink_size)
|
/third_party/mindspore/mindspore/ |
D | _checkparam.py | 241 def check_is_int(arg_value, arg_name=None, prim_name=None): member in Validator
|