mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-06-27 16:10:11 +08:00
add clip alias to correct place
This commit is contained in:
@@ -2,3 +2,7 @@ from __future__ import absolute_import
|
||||
from keras.constraints import *
|
||||
|
||||
from .clip import Clip
|
||||
|
||||
# Aliases.
|
||||
|
||||
clip = Clip
|
||||
|
||||
@@ -19,7 +19,3 @@ class Clip(Constraint):
|
||||
def get_config(self):
|
||||
return {'name': self.__class__.__name__,
|
||||
'c': self.c}
|
||||
|
||||
# Aliases.
|
||||
|
||||
clip = Clip
|
||||
|
||||
Reference in New Issue
Block a user