relu

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

Adds a relu activation layer to the network.

Parameters

id

Optional identifier for the layer