Add asinh acosh atanh extractors (#1600)
* Add asinh acosh atanh extractors * Add asinh acosh atanh ext for tf * Update docs
This commit is contained in:
1 parent
d14d09e796
commit
680e93fba7
5 files changed
+83
-2
No files matched your search
@@ -65,6 +65,11 @@ class Asin(Activation):
|
||||
operation = staticmethod(lambda x: np.arcsin(x))
|
||||
|
||||
|
||||
class Asinh(Activation):
|
||||
op = 'Asinh'
|
||||
operation = staticmethod(lambda x: np.arcsinh(x))
|
||||
|
||||
|
||||
class Cos(Activation):
|
||||
op = 'Cos'
|
||||
operation = staticmethod(lambda x: np.cos(x))
|
||||
@@ -80,6 +85,11 @@ class Acos(Activation):
|
||||
operation = staticmethod(lambda x: np.arccos(x))
|
||||
|
||||
|
||||
class Acosh(Activation):
|
||||
op = 'Acosh'
|
||||
operation = staticmethod(lambda x: np.arccosh(x))
|
||||
|
||||
|
||||
class Tan(Activation):
|
||||
op = 'Tan'
|
||||
operation = staticmethod(lambda x: np.tan(x))
|
||||
@@ -95,6 +105,11 @@ class Atan(Activation):
|
||||
operation = staticmethod(lambda x: np.arctan(x))
|
||||
|
||||
|
||||
class Atanh(Activation):
|
||||
op = 'Atanh'
|
||||
operation = staticmethod(lambda x: np.arctanh(x))
|
||||
|
||||
|
||||
class ReLU6(AttributedClamp):
|
||||
op = 'ReLU6'
|
||||
|
||||
|
||||
Reference in new issue
Block a user