Create a Keras custom model

keras_model_custom(model_fn, name = NULL)

Arguments

model_fn

Function that returns an R custom model

name

Optional name for model

Value

A Keras model

Details

For documentation on using custom models, see https://keras.rstudio.com/articles/custom_models.html.