Skip to content

Commit

Permalink
Updated Imports for TF-2.0
Browse files Browse the repository at this point in the history
- Updated TF 2.0 Keras backend import
- Depreciated Native Keras implementation

[ci skip]
  • Loading branch information
digantamisra98 committed Nov 17, 2019
1 parent 7269f88 commit f830c4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Mish/Keras/mish.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Keras Implementation of Mish Activation Function.

"""Update: 11/17/2019- Keras implementation is now depreciated, please move to TFKeras directory for the Tensorflow 2.0 Keras based implementation"""

# Import Necessary Modules.
from __future__ import absolute_import
from __future__ import division
Expand Down
2 changes: 1 addition & 1 deletion Mish/TFKeras/mish.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Import Necessary Modules
import tensorflow as tf
from tensorflow.keras.layers import Activation
from tensorflow.keras.utils.generic_utils import get_custom_objects
from tensorflow.keras.utils import get_custom_objects

class Mish(Activation):
'''
Expand Down

0 comments on commit f830c4b

Please sign in to comment.