如何使用C API在Tensorflow Lite中创建张量?那么我们如何在解释器中使用它们呢?我知道Tensorflow Lite有C++应用程序接口的文档,而常规的Tensorflow有C API的文档。但是,几乎没有关于使用C API for Lite的信息。Lite有一个用于创建张量的函数,但我在C++的C API头文件(或任何其他相关的头文件/源文件)中看不到该函数。 下面是一个
官方网站提到了Tensorflow Lite量化。不幸的是,这在我的例子中不起作用,也就是说,TFLiteConverter为我的Mask RCNN模型返回错误:
Some of the operators in the model are not supportedyou can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter其次,量化后
我正在尝试将冻结的图形文件(.pb)转换为TensorFlow Lite FlatBuffer文件(.tflite),在Raspberry Pi 3B+ Linux中。TensorFlow是使用pip3安装在Python中的;TensorFlow Lite是从源代码安装和构建的(静态库)。TensorFlow版本(安装在Python中)为1.11.0。我收到这个错误: Attributeerror:模块'tensorflow.contrib.lite<