tensorflow / ngraph-bridge

TensorFlow-nGraph bridge
Other
137 stars 64 forks source link

Short-circuit functions with zero dim results for IE backend #656

Closed adk9 closed 4 years ago

adk9 commented 4 years ago

OV Inference Engine backends do not support zero dim tensors or results. In this PR, we mark such zero-dim result functions as trivial functions and short-circuit the whole cluster by turning into a NOP. This works because all clusters encapsulated by the bridge, at present, are strictly stateless.