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
!12284
bug fix: the resnet initial time increase after use kaiming initial
From:
@sl_wang
Reviewed-by: @wang_zi_dong,@kisnwang Signed-off-by:
@kisnwang
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
5 years ago
parent
0ce5faf3f6
b95f9fdb8e
commit
e8060bd9e8
1 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
model_zoo/official/cv/resnet/src/resnet.py
+ 0
- 2
model_zoo/official/cv/resnet/src/resnet.py
View File
@@ -74,8 +74,6 @@ def _calculate_fan_in_and_fan_out(tensor):
num_output_fmaps = tensor[0]
receptive_field_size = 1
if dimensions > 2:
import time
time.sleep(10)
receptive_field_size = tensor[2] * tensor[3]
fan_in = num_input_fmaps * receptive_field_size
fan_out = num_output_fmaps * receptive_field_size
Write
Preview
Loading…
Cancel
Save