add dynmic state check for node_pass to skip optimization if it contains dynamic state (#3035)
add dynmic state check for node_pass to skip optimization if it contains dynamic state (#3035)


NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph