utensor_cgen
utensor_cgen copied to clipboard
Hyphens in TF operation names being written into generated C++ code
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.
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?