Package org.jetbrains.kotlinx.dl.api.core.dsl

Types

GraphTrainableModelBuilder
Link copied to clipboard
class GraphTrainableModelBuilder<T : GraphTrainableModel>(createModelFunction: (Array<Layer>) -> T)

Graph trainable model builder.

LayerListBuilder
Link copied to clipboard
value class LayerListBuilder(layers: MutableList<Layer>)

Layer list builder.

Functions

functional
Link copied to clipboard
fun functional(builder: GraphTrainableModelBuilder<Functional>.() -> Unit): Functional

Functional model builder.

invoke
Link copied to clipboard
operator fun <T : GraphTrainableModel> (Array<Layer>) -> T.invoke(builder: GraphTrainableModelBuilder<T>.() -> Unit): T

Generic model builder.

sequential
Link copied to clipboard
fun sequential(builder: GraphTrainableModelBuilder<Sequential>.() -> Unit): Sequential

Sequential model builder.