We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d3025 commit 476a664Copy full SHA for 476a664
keras/src/utils/backend_utils_test.py
@@ -15,7 +15,7 @@ class BackendUtilsTest(testing.TestCase):
15
)
16
def test_dynamic_backend(self, name):
17
dynamic_backend = backend_utils.DynamicBackend()
18
- x = np.random.uniform(size=[1, 2, 3])
+ x = np.random.uniform(size=[1, 2, 3]).astype("float32")
19
20
if name == "numpy":
21
dynamic_backend.set_backend(name)
0 commit comments