tensorflow / ngraph-bridge

TensorFlow-nGraph bridge
Other
137 stars 65 forks source link

Use env var to set min non-trivial nodes #758

Closed kanvi-nervana closed 3 years ago

kanvi-nervana commented 3 years ago

Add support to use the environment variable TF_OV_MIN_NONTRIVIAL_NODES to set the cluster threshold for an encapsulated nGraph cluster. A cluster is busted if the number of non-trivial nodes (excluding Const and Identity) exceed the specified minimum number of non-trivial nodes.