would it be (in principle) possible to use numpy.array_api instead of numpy as array backend for the generated python code?
Note that numpy.array_api is a reference implementation of the array API standard.
By doing so, Yardl would be compliant with the python array api and as such more agnostic to the specific array backend which would potentially allow using other compliant array backends (e.g. cupy or pytorch) in the future.
Georg
PS: @johnstairs @hansenms thanks for the support of the 1st ETSI Hackathon
Dear Yardl developers,
would it be (in principle) possible to use numpy.array_api instead of
numpy
as array backend for the generated python code? Note thatnumpy.array_api
is a reference implementation of the array API standard.By doing so, Yardl would be compliant with the python array api and as such more agnostic to the specific array backend which would potentially allow using other compliant array backends (e.g. cupy or pytorch) in the future.
Georg
PS: @johnstairs @hansenms thanks for the support of the 1st ETSI Hackathon