Closed
Description
The input is
import dpctl.tensor as dpt
val = dpt.zeros(2, dtype="u1")
max = dpt.zeros(tuple(), dtype="i1")
dpt.clip(val, min=None, max=max)
Raises ValueError: function 'clip' does not support input types (uint8, int8), and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''.
.
This causes failure in array_api_tests/test_operators_and_elementwise_functions.py::test_clip
.
The issue is to investigate the failure and either fix or file an issue with array_api_tests