Skip to content

Commit e883014

Browse files
Update src/array_api_extra/_delegation.py
Co-authored-by: Guido Imperiale <[email protected]>
1 parent 793f670 commit e883014

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/array_api_extra/_delegation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ def one_hot(
175175
]
176176
# Delegate where possible.
177177
if is_jax_namespace(xp):
178-
assert is_jax_array(x)
179178
from jax.nn import one_hot as jax_one_hot
180179

181180
return jax_one_hot(x, num_classes, dtype=dtype, axis=axis)

0 commit comments

Comments
 (0)