TFLite Interpreter
Posted Dufre.WC
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TFLite Interpreter相关的知识,希望对你有一定的参考价值。
Architechture
- PC
- model training
- convert model to xxx.tflite
- Device
- xxx.tflite interpreter
- inference
- Neon Kernels
- Hardware Acceleration interface(GPU/APU…)
Model Structure
Subgraph
Operator
Class Structure
TfLiteNode/TfLiteRegistration
Interpreter Implement
mmap
TfLiteNode
TfLiteRegistration
TfLiteContext
Workflow
InterpreterBuild::operator()
Subgraph::Invoke()
Example
This is CNN Model
- Conv2D
- MaxPool2D
- Conv2D
- MaxPool2D
- Reshape
- FullyConnected
- Softmax
ParseNodes
ParseTensors
SetTensorParameterReadOnly()
SetTensorParameterReadWrite()
Subgraph::Invoke()
以上是关于TFLite Interpreter的主要内容,如果未能解决你的问题,请参考以下文章