Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Gupta__Shubham
New Contributor I
92 Views

tensorflow to IR conversion

hey,

while converting tensorflow graph(.pb) to openvino IR(.xml), using mo_tf.py, shape of output layer is changing. In my case its changing from [1,13,13,30] to [1,30,13,13]. Can anyone explain this?

0 Kudos
1 Reply
Shubha_R_Intel
Employee
92 Views

Hi shubham. Inference Engine expects NCHW but Tensorflow generates NHWC (channel is last shape element). And this is exactly the switch that you observe.

Reply