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 b03661b commit 395c33fCopy full SHA for 395c33f
src/array_api_extra/_lib/_funcs.py
@@ -72,6 +72,8 @@ def atleast_nd(x: Array, /, *, ndim: int, xp: ModuleType | None = None) -> Array
72
return x
73
74
75
+# `float` in signature to accept `math.nan` for Dask.
76
+# `int`s are still accepted as `float` is a superclass of `int` in typing
77
def broadcast_shapes(*shapes: tuple[float | None, ...]) -> tuple[int | None, ...]:
78
"""
79
Compute the shape of the broadcasted arrays.
0 commit comments