Skip to content

Decorator for input output conversion array-api porting #1021

Description

@connoraird

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.

Metadata

Metadata

Labels

array-apiWork is related to the Array APIenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions