Is Your Feature Request Related to a Problem? Please Describe
Created from this discussion.
There are several functions which have proven difficult to port to the array api. When this is the case we have resorted to simply converting inputs to Numpy and outputs back to the input backend.
Describe the Solution You'd Like
It would be good to have this functionality added as a decorator which would prevent us from having to manually convert inputs and outputs.
Is Your Feature Request Related to a Problem? Please Describe
There are several functions which have proven difficult to port to the array api. When this is the case we have resorted to simply converting inputs to Numpy and outputs back to the input backend.
Describe the Solution You'd Like
It would be good to have this functionality added as a decorator which would prevent us from having to manually convert inputs and outputs.