[Feature request] Support different out
dtypes for elementwise func
#1717
Labels
question
Further information is requested
out
dtypes for elementwise func
#1717
Current implementations of elementwise functions in dpctl.tensor do not support
out
data type other thanbool
and raiseValueError
ifout
is notbool
.While numpy can cast the result depending on
out
data type.Since the Python Array API has no description for
out
parameter we can implement any logic we want.I think it would be useful to follow the logic of numpy and cast the result depending on
out
data type.The text was updated successfully, but these errors were encountered: