直接将 tensorflow lite 模型导入 tensorflow/keras

Directly import tensorflow lite models into tensorflow/keras

我知道将 tensorflow 模型转换为 tflite,但是否有相反的过程。我一直在努力挖掘 google 文档,这对我来说不是很清楚。

我正在尝试为此处的模型完成此操作 --> https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet/lite

也许我遗漏了什么。我对张量流很陌生。

所以我问的问题类似于以下已回答的问题。将此留给在开始使用 tensorflow 时使用我的关键字进行搜索的任何人:

Is there any way to convert a tensorflow lite (.tflite) file back to a keras file (.h5)?

请注意,上面的答案对 tensorflow 2.0 有效