sigmoid

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

Adds a sigmoid activation layer to the network.

Parameters

id

Optional identifier for the layer