config_set_backend {keras3} | R Documentation |
Reload the backend (and the Keras package).
Description
Reload the backend (and the Keras package).
Usage
config_set_backend(backend)
Arguments
backend |
String |
Value
Nothing, this function is called for its side effect.
Examples
config_set_backend("jax")
WARNING
Using this function is dangerous and should be done
carefully. Changing the backend will NOT convert
the type of any already-instantiated objects.
Thus, any layers / tensors / etc. already created will no
longer be usable without errors. It is strongly recommended not
to keep around any Keras-originated objects instances created
before calling config_set_backend()
.
This includes any function or class instance that uses any Keras
functionality. All such code needs to be re-executed after calling
config_set_backend()
.
See Also
Other config:
config_backend()
config_disable_interactive_logging()
config_disable_traceback_filtering()
config_enable_interactive_logging()
config_enable_traceback_filtering()
config_enable_unsafe_deserialization()
config_epsilon()
config_floatx()
config_image_data_format()
config_is_interactive_logging_enabled()
config_is_traceback_filtering_enabled()
config_set_epsilon()
config_set_floatx()
config_set_image_data_format()