keras_model_custom {keras} | R Documentation |
keras_model_custom()
is soft-deprecated. Please define custom models by
subclassing keras$Model
directly using %py_class%
or R6::R6Class()
,
or by calling new_model_class()
.
keras_model_custom(model_fn, name = NULL)
model_fn |
Function that returns an R custom model |
name |
Optional name for model |
A Keras model