api
/
org.jetbrains.kotlinx.dl.api.core.activation
/
SnakeActivation
Snake
Activation
class
SnakeActivation
(frequency:
Float
) :
Activation
Content copied to clipboard
Constructors
Functions
See also
See also
org.
jetbrains.
kotlinx.
dl.
api.
core.
activation.
Activations.
Snake
Constructors
SnakeActivation
Link copied to clipboard
fun
SnakeActivation
(frequency:
Float
= 1.0f)
Content copied to clipboard
Functions
apply
Link copied to clipboard
open override fun
apply
(tf:
Ops
, features:
Operand
<
Float
>):
Operand
<
Float
>
Content copied to clipboard
Applies the activation functions to the input
features
to produce the output.
open fun
apply
(tf:
Ops
, features:
Operand
<
Float
>, name:
String
= ""):
Operand
<
Float
>
Content copied to clipboard
Applies the activation functions to the input
features
to produce the output.