4

I am using Keras (with Tensorflow) to train my RNN model. Does anyone has an idea how can I use it in my C application? Does anyone tried something similar?

I found a similar question here how to use Tensorflow Keras model in C++ here Convert Keras model to C++ but i want to convert it to a C environment.

Playergod
  • 109
  • 14

1 Answers1

3

I never tried, but this can be a way to do it. Firstly, convert the Keras model to Tensorflow, with tools like this one or following this tutorial. After this step, you can use your model with the tf C API.

dcolazin
  • 831
  • 1
  • 10
  • 25
  • I think you can skip the convertation from keras to tensorflow, because you can create a .pb file from keras directly. – Playergod Jun 04 '19 at 09:11