of

fun of(vararg layers: Layer, noInput: Boolean = false): Sequential

Creates the Sequential model.

Return

the Sequential model.

fun of(layers: List<Layer>, noInput: Boolean = false): Sequential

Creates the Functional model.

Return

the Sequential model.