derivatives¶
Module contents¶
- Derived functions, name prefix specifies its container, like
- KS_: nets.KeepSignFunc
- JC_: nets.JointComplex
-
poornn.derivatives.
KS_Tanh
(input_shape, itype, **kwargs)¶ Function \(f(x) = \tanh(|x|)\exp(i \theta_x)\).
References
Hirose 1994
Returns: keep sign tanh layer. Return type: KeepSignFunc
-
poornn.derivatives.
KS_Georgiou1992
(input_shape, itype, cr, var_mask=[False, False], **kwargs)¶ Function \(f(x) = \frac{x}{c+|x|/r}\)
Parameters: - cr (tuplei, len=2) – c and r.
- var_mask (1darray, len=2, default=[False,False]) – mask for variables (v, w), with v = -c*r and w = -cr/(1-r).
Returns: keep sign Georgiou’s layer.
Return type:
-
poornn.derivatives.
JC_Tanh
(input_shape, itype, **kwargs)¶ Function \(f(x) = \tanh(\Re[x]) + i\tanh(\Im[x])\).
References
Kechriotis 1994
Returns: joint complex tanh layer. Return type: JointComplex
-
poornn.derivatives.
JC_Sigmoid
(input_shape, itype, **kwargs)¶ Function \(f(x) = \sigma(\Re[x]) + i\sigma(\Im[x])\).
References
Birx 1992
Returns: joint complex sigmoid layer. Return type: JointComplex
-
poornn.derivatives.
JC_Georgiou1992
(input_shape, itype, params, **kwargs)¶ Function \(f(x) = \text{Georgiou1992} (\Re[x]) + i\text{Georgiou1992}(\Im[x])\).
Parameters: params – params for Georgiou1992. References
Kuroe 2005
Returns: joint complex Geogiou’s layer. Return type: JointComplex