Replies: 2 comments
-
Is this question too general ? Please suggest then any tutorial in order to solve my target. |
Beta Was this translation helpful? Give feedback.
0 replies
-
cppflow seems to have no signature handling method, so you need to investigate node names with Each $ saved_model_cli show --dir \
/tmp/saved_model_dir --tag_set serve --signature_def serving_default
The given SavedModel SignatureDef contains the following input(s):
inputs['x'] tensor_info:
dtype: DT_FLOAT
shape: (-1, 1)
name: x:0 Same thing is explained cppflow document here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a place where I can find a deeper cppflow tutorial ?
I have read this one, very basic: https://serizba.github.io/cppflow/examples.html
But I need to convert something like this:
(python code)
I am pretty sure this code could be converted in c++ using cppflow, but I need more details regarding how to use cppflow methods to accomplish this. For instance, how to know what is the right cppflow
model
method to replacemodel.signatures[tf.saved_model.DEFAULT_SERVING_SIGNATURE_DEF_KEY]
Can you tell me then a good cpp tutorial ?
Beta Was this translation helpful? Give feedback.
All reactions