of

fun of(vararg layers: Layer): Sequential

Creates the Sequential model.

Return

the Sequential model.

fun of(layers: List<Layer>): Sequential

Creates the Functional model.

Return

the Functional model.