SnakeActivation

class SnakeActivation(frequency: Float) : Activation

See also

Constructors

SnakeActivation
Link copied to clipboard
fun SnakeActivation(frequency: Float = 1.0f)

Functions

apply
Link copied to clipboard
open override fun apply(tf: Ops, features: Operand<Float>): Operand<Float>

Applies the activation functions to the input features to produce the output.

open fun apply(tf: Ops, features: Operand<Float>, name: String = ""): Operand<Float>

Applies the activation functions to the input features to produce the output.