AFT-646 FTAG: Decorator regex fix
- Fixing the bug introduced in the MR!60007
- Reverted the commit 65695701 that reverted the MR!60007 and then added the fix
-
git revert -m 1 656957011f41e78145eed3b80766d3b44502051e
(this is the command I used to revert, hope that's the right one)
Related JIRA issue AFT-646
Prior to the MR!60007, we were creating the decorators for the GN models using lwtnn::config
, reading from the ONNX model metadata. The MR!60007 introduced the option to create the decorators from the ONNX model directly by introducing the GNNConfig
GNNConfig
was missing the addition of Flip
and Neg
suffixes to the decorator names when needed. (In the old code, we were doing it while creating the getters; forgot to copy it to the code that creates the new decorators)