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

Extract tensorflow-dependent classes into a separate module #412

Closed
wants to merge 10 commits into from

Conversation

juliabeliaeva
Copy link
Contributor

@juliabeliaeva juliabeliaeva commented Aug 1, 2022

This PR will split "api" module into two:

  1. "api" with InferenceModel, ModelHub and supporting classes, plus some dataset code.
  2. "tensorflow" with TensorflowInferenceModel and its implementation.

First commits prepare the split, moving classes between files and separating functionality, last commit adds gradle scripts and actually makes the move.

juliabeliaeva added a commit that referenced this pull request Aug 2, 2022
* Remove unnecessary usages or TensorFlowInferenceModel type

* Extract ModelType interface to a separate file

* Move Metric implementations and conversion functions to the Metric.kt source file

* Remove unnecessary conversions from Shape to TensorShape

* Cleanup ShapeFunctions

* Remove dependency from TensorShape on Shape

* Allow to get array shape as a TensorShape

* Move flattenFloats function to a separate file

* Use model storage url from the ModelHub property
juliabeliaeva added a commit that referenced this pull request Aug 2, 2022
@juliabeliaeva
Copy link
Contributor Author

Pushed manually as 2 commits: one with the preliminary work, one with the move (to better preserve file history).

@juliabeliaeva juliabeliaeva deleted the extract-tf branch August 9, 2022 15:59
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

Successfully merging this pull request may close these issues.

2 participants