Skip to content

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

@PeteBlackerThe3rd

Description

@PeteBlackerThe3rd

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions