invoke
operator fun <T : GraphTrainableModel> (Array<Layer>) -> T.invoke(builder: GraphTrainableModelBuilder<T>.() -> Unit): T
Content copied to clipboard
Generic model builder.
Receiver
Function to create model, accepts an array of layer.
Return
a model corresponding to T.
Parameters
T
type of model
builder
The builder block.