definition
fun <T : DType, V> definition(init: NeuralNetworkExecutionContext.(NeuralNetworkExecutionContext) -> Module<T, V>): Module<T, V>(source)
Creates a context for the DSL with the given configuration.
Return
The configured context.
Parameters
T
The type of data processed by the modules.
init
The configuration function.