TensorFlow Lite

请问一下这段代码:

    converter = tf.lite.TFLiteConverter.from_saved_model ('saved/1')
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    tflite_quant_model = converter.convert ()
    open ("mnist_savedmodel_quantized.tflite", "wb").write (tflite_quant_model)

为什么会报错

  raise ValueError ("No ConcreteFunction is specified.")
ValueError: No ConcreteFunction is specified.

使用的环境为:

tensorflow==2.0.0
tensorflow-estimator==2.0.1
tensorflow-hub==0.8.0

打开 site-packages/tensorflow/lite/python/lite.py 文件发现其实是 from_saved_model 的时候构造_funcs 为空,不太清楚里面的机制,这里请教下一哎。