This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
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
!4424
modify quant DenseBnAct API
Merge pull request
!4424
from chengxb7532/r0.6
pull/4424/MERGE
mindspore-ci-bot
Gitee
5 years ago
parent
30452899ec
7bc5b71b44
commit
04a6612baf
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/train/quant/quant.py
+ 1
- 1
mindspore/train/quant/quant.py
View File
@@ -274,7 +274,7 @@ class ConvertToQuantNetwork:
subcell.dense = dense_inner
if subcell.has_act and subcell.activation is not None:
subcell.activation = self._convert_activation(subcell.activation)
el
if
s
ubcell.after_fak
e:
else:
subcell.has_act = True
subcell.activation = _AddFakeQuantAfterSubCell(F.identity,
num_bits=self.act_bits,
Write
Preview
Loading…
Cancel
Save