Calculates the index of the middle layer of an encoder-decoder network.

encoding_index(net)

Arguments

net

A network of class "ruta_network"

Value

Index of the middle layer