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 a756439 commit 4e0363aCopy full SHA for 4e0363a
keras_rs/src/utils/tpu_test_utils.py
@@ -34,7 +34,7 @@ def experimental_distribute_dataset(
34
35
class JaxDummyStrategy(DummyStrategy):
36
@property
37
- def num_replicas_in_sync(self) -> int:
+ def num_replicas_in_sync(self) -> Any:
38
if jax is None:
39
return 0
40
return jax.device_count("tpu")
0 commit comments