copy

fun copy(saveOptimizerState: Boolean = false, copyWeights: Boolean = true): Sequential

Returns a copy of this model.