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

Implement interface to NIR #4

Open
6 of 8 tasks
kmheckel opened this issue Sep 30, 2023 · 4 comments
Open
6 of 8 tasks

Implement interface to NIR #4

kmheckel opened this issue Sep 30, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@kmheckel
Copy link
Owner

kmheckel commented Sep 30, 2023

Create functions to load/save models to HDF5 under the Neuromorphic Intermediate Representation standard to facilitate cross-platform deployment.

https://nnir.readthedocs.io/en/latest/what.html

  • Implement spyx.nir.to_nir()

  • Implement spyx.nir.from_nir()

  • Support feed-forward network import

  • Support ConvNet import

  • Support explicitly recurrent import

  • Implement FFN exporting

  • Implement CSNN exporting

  • Implement RSNN exporting

@kmheckel kmheckel added the enhancement New feature or request label Oct 1, 2023
@kmheckel kmheckel self-assigned this Oct 24, 2023
@kmheckel
Copy link
Owner Author

See docs/examples/nir for notebooks documenting functionality and testing. Currently works for single neuron loading example, writing the model back is a work in progress.

@kmheckel
Copy link
Owner Author

kmheckel commented Oct 29, 2023

Working on getting the weight scaling to function properly.

  • Get weight scaling working so that loaded models function properly

@kmheckel
Copy link
Owner Author

kmheckel commented Nov 6, 2023

Importing models is now supported but is likely somewhat brittle. Will require further testing. Export capabilities started but limited to FFN for now, rest is a work in progress.

@kmheckel
Copy link
Owner Author

This needs formal tests included into the library before closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant