From fd811756f46ba1e0104267a9783fb115e47d6d53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 18 Sep 2019 15:05:32 +0900 Subject: [PATCH] [exo-tflite] revising README.md (#7529) * [exo-tflite] revising README.md Steps for adding a new TFL node was added. Signed-off-by: Hyun Sik Yoon * revised --- compiler/exo-tflite/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/compiler/exo-tflite/README.md b/compiler/exo-tflite/README.md index e52bea9..39ac987 100644 --- a/compiler/exo-tflite/README.md +++ b/compiler/exo-tflite/README.md @@ -1,3 +1,12 @@ # exo-tflite _exo-tflite_ includes _loco_-to-_T/F Lite_ exporter (as a library). + +## How to add a new TFL node + +1. Add a new TFL node into `TFLNodes.lst` and `TFLNodes.h` +1. Define a knob in `Knob.lst` if you need a knob. +1. Add appropriate methods in `TFLShapeInferenceRule.cpp` and `TFLTypeInferenceRule.cpp` +1. Add a new converter under `Conversion` directory +1. Add an appropriate method in `OperationExporter.cpp` +1. Register the converter into `Convert.cpp` -- 2.7.4