microsoft / yardl

Tooling for streaming instrument data
https://microsoft.github.io/yardl/
MIT License
29 stars 5 forks source link

use / support for python / numpy array api #107

Open gschramm opened 7 months ago

gschramm commented 7 months ago

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 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