Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activations moved from keras.layers to keras in keras 2.2.0 #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion keras_transformer/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import math
from typing import Union, Callable, Optional

from keras.layers import Layer, Add, activations, Dropout
from keras.layers import Layer, Add, Dropout
from keras import activations
from keras import initializers
# noinspection PyPep8Naming
from keras import backend as K
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
keywords='development',

packages=find_packages(where='.', exclude=['example']),
install_requires=['Keras>=2.0.8', 'numpy'],
install_requires=['Keras>=2.2.0', 'numpy'],
tests_require=['pytest'],
include_package_data=True,
)