-
Notifications
You must be signed in to change notification settings - Fork 2
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
is possible to load tf model from memory buffer #10
Comments
I guess you need to provide a little more info on what exactly you intend to do. In what form do you have your model in memory? |
hi @lreiher ,thank for your reply, here is a c++ demo code
is possible implement a function like loadModelFromData to load model? |
Kind of depends on the C++ APIs available by TensorFlow. For example, the actual TensorFlow API call for loading a saved model is called here. If you find a suitable API for the desired behavior, I would also be happy to look over a PR that is exposing this API in this Alternatively, I guess you could first write the datastream to a file and then load from there? |
Hi @lreiher I google that, not found a suitable solution. |
wonderful job, but i also want to load model form memory, I google that, but can not find any useful info. Do you have any solution
The text was updated successfully, but these errors were encountered: