KhronosGroup / NNEF-Tools

The NNEF Tools repository contains tools to generate and consume NNEF documents
https://www.khronos.org/nnef
222 stars 57 forks source link

missing shape #83

Closed hansely closed 5 years ago

hansely commented 5 years ago

I've downloaded inception-resnetv2 model on the model zoo which was converted from tensorflow model. However, there is a variable named 'varaible_92' with empty shape attribute. Is this an error? If not, how is the shape calculated?

gyenesvi commented 5 years ago

If I understand correctly, you are saying that shape = [], so it is not missing, it is an empty array. It is not an error; the length of the array is the number of dimensions of a tensor, so it is a 0-dimensional tensor, which is a single scalar.

hansely commented 5 years ago

Oh I get it. Thanks!