GraphTrainableModelBuilder

class GraphTrainableModelBuilder<T : GraphTrainableModel>(createModelFunction: (Array<Layer>) -> T)

Graph trainable model builder.

Parameters

T

Type of model.

Constructors

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

Creates Graph trainable model builder.

Functions

layers
Link copied to clipboard
fun layers(block: LayerListBuilder.() -> Unit)

Layers Builder.

model
Link copied to clipboard
fun model(block: T.() -> Unit)

Model Builder.

use
Link copied to clipboard
fun use(block: T.() -> Unit)

Use builder.