elu

fun <T : DType, V> NeuralNetworkDsl<T, V>.elu(alpha: Float = 1.0f, id: String = "")

Adds a elu activation layer to the network.

Parameters

alpha

Scale for the negative factor in ELU

id

Optional identifier for the layer