Skip to content

Commit

Permalink
Merge pull request #19499 from nstarman:array_api-broadcast_to-type-hint
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609852827
  • Loading branch information
jax authors committed Feb 23, 2024
2 parents 75cdef7 + b9f2857 commit e1e9de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/experimental/array_api/_manipulation_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def broadcast_arrays(*arrays: Array) -> list[Array]:
return jax.numpy.broadcast_arrays(*arrays)


def broadcast_to(x: Array, /, shape: tuple[int]) -> Array:
def broadcast_to(x: Array, /, shape: tuple[int, ...]) -> Array:
"""Broadcasts an array to a specified shape."""
return jax.numpy.broadcast_to(x, shape=shape)

Expand Down

0 comments on commit e1e9de0

Please sign in to comment.