-
Katarzyna Mitrus authored
* Checking if provenance_tags key exists * Add provenance tag prototype * Format provenance tag * Display provenance tag * Clean debug printing * Add const to variables * Separate method for add provenance tags * Return NodeVector reference * Return const NodeVector * Moved add_provenance_tags function to commons * Style apply * Simple model for tests * Provenance tag test * Expect substring instead of equal * Add provenance tags to intermediate nodes recursively * One tag per node * Add traverse node args instead of recursion * Return NodeVector instead of set of pointers * Use treverse_nodes and lambda function * Remove unused helper functions * Remove is_constant() condition * Update test model prototxt * Update test substring * Make code slightly more readable Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com> Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by: Sang Ik Lee <sang.ik.lee@intel.com>
fbd99f34