|
|
|
|
|
by krab
3453 days ago
|
|
> - There are tools for compiling your trained models as static C++ binaries on mobile devices I'm looking for such tool but I haven't found anything apart from C++ libraries that also focus on training. Can you give me some pointers? Thanks. |
|
https://github.com/tensorflow/tensorflow/tree/master/tensorf...
The readme has a general overview of how you'll approach using it. Note that you'll want to optimize for inference (remove unnecessary operations from the graph) [0] and freeze your graph (convert Variables into constant tensors) [1] to drop in your own model for the pretrained Inception model that's used as an example.
[0]: https://github.com/tensorflow/tensorflow/blob/master/tensorf...
[1]: https://github.com/tensorflow/tensorflow/blob/master/tensorf...