mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-09-11 12:20:31 +08:00
fix import errors
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from __future__ import absolute_import
|
||||
from . import backend as K
|
||||
from keras.utils.generic_utils import get_from_module
|
||||
|
||||
from keras.activations import *
|
||||
|
||||
@@ -1,11 +1,4 @@
|
||||
from __future__ import absolute_import
|
||||
import numpy as np
|
||||
from . import backend as K
|
||||
from keras.utils.generic_utils import get_from_module
|
||||
|
||||
from keras.initializations import *
|
||||
|
||||
|
||||
def get(identifier, **kwargs):
|
||||
return get_from_module(identifier, globals(),
|
||||
'initialization', kwargs=kwargs)
|
||||
|
||||
Reference in New Issue
Block a user