Skip to content

Commit 4e0363a

Browse files
committed
fix type
1 parent a756439 commit 4e0363a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_rs/src/utils/tpu_test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def experimental_distribute_dataset(
3434

3535
class JaxDummyStrategy(DummyStrategy):
3636
@property
37-
def num_replicas_in_sync(self) -> int:
37+
def num_replicas_in_sync(self) -> Any:
3838
if jax is None:
3939
return 0
4040
return jax.device_count("tpu")

0 commit comments

Comments
 (0)