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
!2841
Fix optimizer step counter bug
Merge pull request
!2841
from Kang/master
tags/v0.6.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
a342a615a8
4419881f2f
commit
d0d877a4ea
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
mindspore/ccsrc/optimizer/optimizer.h
+ 2
- 1
mindspore/ccsrc/optimizer/optimizer.h
View File
@@ -184,7 +184,8 @@ class Optimizer : public std::enable_shared_from_this<Optimizer> {
}
}
};
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter++)) run_runc) : run_runc();
use_profile ? (WITH(MsProfile::GetProfile()->Lap(counter)) run_runc) : run_runc();
counter++;
if (run_only_once_) {
break;
Write
Preview
Loading…
Cancel
Save