You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this issue! keras.backend.backend() returns global keras backend, which is tensorflow by default. However, DynamicBackend creates a local backend instance, so you can try printing dynamic.name to know the backend you are using locally with DynamicBackend like this:
from keras.src.utils import backend_utils
from keras.src import backend
import tensorflow as tf
dynamic = backend_utils.DynamicBackend()
dynamic.set_backend('tensorflow')
print(dynamic.name)
dynamic.set_backend('torch')
print(dynamic.name)
Right, its working that way. Could we get a documentation to on its usage? (i.e. Sequential among others) The backend_utils_test.py only shows one or few example of calculating with the backend using numpy.
As the title says, using keras 3.8 on python 3.10:
The text was updated successfully, but these errors were encountered: