Unexpected input dimension (tflite C_API library)

I expect an input tensor dimension of 1 x 3 x 40 x 180
and i have a segmentation fault when arriving to TfLiteInterpreterInvoke(interpreter);

Input tensor:
Number of dimensions: 4
Dimensions: 1 x 3 x 1 x 1
input_data[0]: 0.937447
data copy
Segmentation fault (core dumped)

Hi @Saad_koukous ,

Can you please share the inference script or the model file if possible ?
It will be easy to debug that way or you can explore this document for better understanding .

Thank You .