I have a moderately large library of C++ code that uses the tensorflow_cc API. I have just started working with Emscripten/emcc and am excited by the potential to port my application to run in node.js using tensorflow.js.
I want to refactor my C++ code so that most of it can be agnostic as to which Tensorflow backend is in use. I expect that this will be done by abstracting Tensor and Model.
Is there a C++ interface to the tensorflow.js API?
To be clear, the Javascript API looks great. I have already confirmed that I can convert my SavedModel format models using tensorflowjs_converter. I am just looking for a clean way to use both of the tensorflow_cc and tensorflow.js backends from my predominantly C++ codebase with a relatively small amount of glue code.
Thanks,
Jim Lloyd
(also posted to stackoverflow)
--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+uns...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/b2be4ffb-b671-4b0d-b909-9490d6dbb56an%40tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/CAHqficjjXdtMSG-y7HG%3DsBuiBg3nLLLu7A5eeHrFojr7KtJ37Q%40mail.gmail.com.
| • Jason Mayes • Follow me or get inspired: #MadeWithTFJS demos on YouTube |