I remove these two lines of code and the conversion still outputs the same error。
2.The model convert code as follow:
converter = tf.lite.TFLiteConverter.from_keras_model(model_tf.build(input_shape=(1,None,None,30)))
tflite_model = converter.convert()