serizba / cppflow

Run TensorFlow models in C++ without installation and without Bazel
https://serizba.github.io/cppflow/
MIT License
788 stars 178 forks source link

Model deleter #57

Closed serizba closed 4 years ago

serizba commented 4 years ago

Model does not have a custom deleter and therefore the Graph and the Session are not deleted properly.

Both Graph and Session should probably be wrapped on a smart pointer specifying their deleting functions.