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

Add api for loading ONNX model from byte array #415

Closed
ermolenkodev opened this issue Aug 5, 2022 · 0 comments
Closed

Add api for loading ONNX model from byte array #415

ermolenkodev opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ermolenkodev
Copy link
Collaborator

On Android, it's required to have an option to load the model from application resources as an array of bytes. Also, it can help download models from remote storage.

@ermolenkodev ermolenkodev added the enhancement New feature or request label Aug 5, 2022
@ermolenkodev ermolenkodev added this to the 0.5 milestone Aug 5, 2022
@ermolenkodev ermolenkodev self-assigned this Aug 5, 2022
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Aug 8, 2022
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Aug 8, 2022
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Aug 9, 2022
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Aug 9, 2022
* Move secondary constructors declaration below properties declaration according to kotlin code conventions.

* Move companion object declaration to the bottom of the layout according to kotlin code convention.

* Add an abstraction for a possible model source as proposed here -> Kotlin#419 (comment)
ermolenkodev added a commit that referenced this issue Aug 9, 2022
…ONNX model (#415) (#419)

* Add api to create OnnxInferenceModel from Byte array representing an ONNX model (#415)

* Refactor byte array loading api (#415)

* Move secondary constructors declaration below properties declaration according to kotlin code conventions.

* Move companion object declaration to the bottom of the layout according to kotlin code convention.

* Add an abstraction for a possible model source as proposed here -> #419 (comment)
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
None yet
Development

No branches or pull requests

1 participant