了解 TensorFlow-Lite 中的推理过程
我是tensorflow lite开发的新手,想知道一个指南来理解tflite中任何神经网络的推理过程的代码。
我该如何继续?
预先感谢
我尝试遵循密集神经网络的推理流程。
I am new to tensorflow lite development and would like to know a guide to understand the code of inference process of any neural network in tflite.
How can I proceed?
Thanks in advance
I have tried to follow the inference flow for a dense neural network.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以从此处开始了解哪些 API 的用途,并从那里进行操作。
一些高级要点
要加载 TF Lite 文件,您可以使用 TfLite 解释器。
TFLite 图由一系列子图组成(基本上每个子图都可以视为一个函数)。
每个子图都应具有按执行顺序排列的操作,并且调用 Invoke 将按提供的顺序触发它们。
You can start from here to know what APIs does what and follow from there.
Some high level points
To load TF Lite file you use TfLite Interpreter.
A TFLite graph consists of a list of subgraphs (basically each subgraph can be viewed as a function).
Each subgraph should have operations in execution order and calling Invoke will trigger them in the provided order.