Skip to content

Commit deb64a0

Browse files
committed
cap
1 parent 3ec5131 commit deb64a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_extra/_lib/_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def one_hot(
392392
# specification.
393393
msg = "x must have a concrete size."
394394
raise TypeError(msg)
395-
# TODO: Benchmark whether this is faster on the Numpy backend:
395+
# TODO: Benchmark whether this is faster on the NumPy backend:
396396
# x_flattened = xp.reshape(x, (-1,))
397397
# out = xp.zeros((x.size, num_classes), dtype=dtype, device=_compat.device(x))
398398
# out = at(out)[xp.arange(x_size), x_flattened].set(1)

0 commit comments

Comments
 (0)