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
using kaiming init in resnet
tags/v1.2.0-rc1
mwang
4 years ago
parent
506ab6f477
commit
b95f9fdb8e
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