This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix exception message
tags/v1.0.0
yuximiao
5 years ago
parent
e6c738d3b6
commit
89e1c0e532
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/profiler/profiling.py
+ 1
- 1
mindspore/profiler/profiling.py
View File
@@ -460,7 +460,7 @@ class Profiler:
"""
result = dict()
if not profile_option:
raise ValueError("
Please call a profile func
tion.")
raise ValueError("
The parameter profile_option must pass a value using ProfileOp
tion.")
if profile_option == ProfileOption.trainable_parameters:
if not isinstance(network, Cell):
Write
Preview
Loading…
Cancel
Save