-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create mapping from model for model.Exec #32
Comments
Hi @Arnold1 |
@galeone ok, any idea how Tensorflow serving is able to figure it out - maybe there is a way to do it similar? does this mapping have an official name - for input and output tensors? |
Can we tell placeholders from regular operations? I mean those operations that we get from Graph.Operations()? |
Yes I guess we can look for the string "placeholder_" in the op.Name (if this is an existing attribute, I don't remember correctly right now). But this is not general, since during the graph creation phase I can rename the input placeholders as I want, thus the search for the name will fail. |
Hi,
Is there a way to automatically create the mapping for the Placeholder (e.g. Placeholder_1) to the input name (e.g. Height) from the model?
Also is there a way to automatically read the "prob_out" from the model?
[]tf.Output and map[tf.Output]*tf.Tensor are both used for model.Exec:
Thanks.
The text was updated successfully, but these errors were encountered: