api
/
org.jetbrains.kotlinx.dl.api.core.activation
/
SparsemaxActivation
Sparsemax
Activation
class
SparsemaxActivation
(axis:
Int
) :
Activation
Content copied to clipboard
Constructors
Functions
See also
See also
org.
jetbrains.
kotlinx.
dl.
api.
core.
activation.
Activations.
Sparsemax
Constructors
SparsemaxActivation
Link copied to clipboard
fun
SparsemaxActivation
(axis:
Int
= -1)
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.