gelu

fun <T : DType, V> NeuralNetworkDsl<T, V>.gelu(id: String = "")

Adds a gelu activation layer to the network.

Parameters

id

Optional identifier for the layer