Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Move ops which don't support FP16 dtype to FP32 list
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2290 committed Oct 29, 2019
1 parent 60d74bc commit a427a5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/mxnet/contrib/amp/lists/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
# are dtype neutral (can work in both fp16 and fp32)
FP16_FP32_FUNCS = [
'BatchNorm',
'BatchNorm_v1',
'BilinearSampler',
'BlockGrad',
'Cast',
Expand All @@ -47,7 +46,6 @@
'GridGenerator',
'Pad',
'Pooling',
'Pooling_v1',
'ROIPooling',
'Reshape',
'SequenceLast',
Expand Down Expand Up @@ -368,6 +366,11 @@
'arctanh',
'_sparse_arcsin',
'_sparse_arctanh',
'BatchNorm_v1',
'Pooling_v1',
'_contrib_MultiBoxDetection',
'_contrib_MultiBoxPrior',
'_contrib_MultiBoxTarget',

# Exponents
'exp',
Expand Down Expand Up @@ -575,9 +578,6 @@
'stack',
'_Maximum',
'_Minimum',
'_contrib_MultiBoxDetection',
'_contrib_MultiBoxPrior',
'_contrib_MultiBoxTarget',
'_contrib_MultiProposal',
'_contrib_PSROIPooling',
'_contrib_Proposal',
Expand Down

0 comments on commit a427a5e

Please sign in to comment.