Skip to content

Commit

Permalink
[FRONTEND][KERAS]GaussianDropout/Noise parsing support (apache#4928)
Browse files Browse the repository at this point in the history
GaussianDropout & GaussianNoise are active only during training time. This can be skipped during inference.
  • Loading branch information
siju-samuel authored and alexwong committed Feb 28, 2020
1 parent 194a863 commit 7303b7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/tvm/relay/frontend/keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ def _default_skip(inexpr, keras_layer, _): # pylint: disable=unused-argument
'Dropout' : _default_skip,
'SpatialDropout2D' : _default_skip,
'SpatialDropout1D' : _default_skip,
'GaussianDropout' : _default_skip,
'GaussianNoise' : _default_skip,
}


Expand Down

0 comments on commit 7303b7d

Please sign in to comment.