Keras sequential model inputlayer issue

I have a sequential keras model with first layer as convolution2d, with input_shape defined. There is no explicit inputlayer.

When I tried to run it through tvm, it did not work I initially. Finally, what worked was


Changing ‘must_contain=True’ to ‘False’.
I think it happens because there is no inputlayer in model.layers, but the first conv2d still has predecessor as an implicit inputlayer.

Also, had to explicitly set the input_shape for the conv2d in keras.

Didn’t want to open an issue since it might be something I did not do correct.

Thanks,
Aswin .