Skip to content
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

Hyphens in TF operation names being written into generated C++ code #89

Open
PeteBlackerThe3rd opened this issue Sep 12, 2019 · 1 comment
Assignees

Comments

@PeteBlackerThe3rd
Copy link

using : utensor-cli, version 0.3.5

I've just found that if Tensorflow operation names contain hyphens these are translated directly into c++ identifiers in the generated code, resulting in invalid code.

I couldn't spot an obvious C identifier sanitiser function in the code, but hopefully this will be an easy fix.

@dboyliao
Copy link
Member

Hi @PeteBlackerThe3rd, thanks for reporting the issue.
Can you please provide a pb file so I can take a look what's the root cause to the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants