This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
zzy34407230
/
mindspore2022
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
22
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix CI random fails
tags/v1.1.0
Yi Huaijie
5 years ago
parent
2124ab1a8c
commit
da29f232c6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tests/ut/python/nn/test_checkparameter.py
+ 1
- 1
tests/ut/python/nn/test_checkparameter.py
View File
@@ -44,7 +44,7 @@ def test_check_is_int5():
Validator.check_is_int(False)
def test_check_positive_int1():
a = np.random.randint(
0
, 100)
a = np.random.randint(
1
, 100)
assert Validator.check_positive_int(a) == a
def test_check_positive_int2():
Write
Preview
Loading…
Cancel
Save