Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Fix keras modules
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberZHG committed Jun 20, 2021
1 parent 0c9c0ce commit 02801c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion keras_wc_embd/__init__.py
@@ -1,4 +1,4 @@
from .word_char_embd import *
from .wrapper import WordCharEmbd

__version__ = '0.21.0'
__version__ = '0.22.0'
8 changes: 2 additions & 6 deletions keras_wc_embd/backend.py
Expand Up @@ -2,8 +2,8 @@
from distutils.util import strtobool

__all__ = [
'keras', 'utils', 'activations', 'applications', 'backend', 'datasets',
'layers', 'preprocessing', 'wrappers', 'callbacks', 'constraints', 'initializers',
'keras', 'utils', 'activations', 'backend',
'layers', 'callbacks', 'constraints', 'initializers',
'metrics', 'models', 'losses', 'optimizers', 'regularizers', 'TF_KERAS',
]

Expand All @@ -17,12 +17,8 @@

utils = keras.utils
activations = keras.activations
applications = keras.applications
backend = keras.backend
datasets = keras.datasets
layers = keras.layers
preprocessing = keras.preprocessing
wrappers = keras.wrappers
callbacks = keras.callbacks
constraints = keras.constraints
initializers = keras.initializers
Expand Down
2 changes: 1 addition & 1 deletion tests/test_get_embedding_layer.py
@@ -1,6 +1,6 @@
import unittest
import numpy
import keras
from keras_wc_embd.backend import keras
from keras_wc_embd import get_embedding_layer


Expand Down

0 comments on commit 02801c3

Please sign in to comment.