Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support transforming execution results into a ndarray #488

Open
MarquessV opened this issue Aug 1, 2024 · 0 comments
Open

Support transforming execution results into a ndarray #488

MarquessV opened this issue Aug 1, 2024 · 0 comments

Comments

@MarquessV
Copy link
Contributor

When retrieving results, a ControllerJobExecutionResults is returned. This type is generated from our protobuf schema, which doesn't offer an ergonomic API for end users who want to do things like linear algebra on the data. For platforms like Python, this data wrangling can be a drag on performance as well.

To make this easier, the SDK should offer a method for transforming the protobuf derived struct into an ndarray. This format would pack all readout values into a single ndarray, and return a mapping of memory regions into views of that ndarray. The ordering of memory regions should be deterministic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant