File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,9 +386,9 @@ def one_hot(
386386 # TODO: Benchmark whether this is faster on the NumPy backend:
387387 # x_size = _compat.size(x)
388388 # if x_size is None: # pragma: no cover
389- # # This cannot be tested because there is no way to create an array with abstract
390- # # size today. However, it is blocked for the sake of type-checking and
391- # # future-proofing since x.size is allowed to be None according to the
389+ # # This cannot be tested because there is no way to create an array with
390+ # # abstract # size today. However, it is blocked for the sake of type-checking
391+ # # and future-proofing since x.size is allowed to be None according to the
392392 # # specification.
393393 # msg = "x must have a concrete size."
394394 # raise TypeError(msg)
You can’t perform that action at this time.
0 commit comments