Documentation ¶
Index ¶
- func Gaussian01(x float64) float64
- func Gaussian01Precise(x float64) float64
- func Sigmoid(x float64) float64
- func SigmoidPrecise(x float64) float64
- func SoftPlus(x float64) float64
- func SoftPlusPrecise(x float64) float64
- func Swish(x float64) float64
- func SwishAssembly(x float64) float64
- func SwishPrecise(x float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Gaussian01 ¶ added in v1.3.0
Gaussian01 is the Gaussian function with mean 0 and sigma 1, using exp256
func Gaussian01Precise ¶ added in v1.3.0
Gaussian01 is the Gaussian function with mean 0 and sigma 1, using math.Exp
func SigmoidPrecise ¶ added in v1.1.0
SigmoidPrecise is the 1 / (1 + exp(-x)) activation function, using math.Exp
func SoftPlusPrecise ¶ added in v1.2.0
SoftPlusPrecise is the log(1 + exp(x)) function, using math.Exp
func SwishAssembly ¶ added in v1.1.0
SwishAssembly is the swish function, written in hand-optimized assembly go: noescape
func SwishPrecise ¶ added in v1.1.0
SwishPrecise is the x / (1 + exp(-x)) activation function, using math.Exp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.