From a725efe1dae5c65037eb0ed60fb0f82ce56f2dae Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=B2=9C=EA=B5=90/On-Device=20Lab=28SR=29/Enginee?= =?utf8?q?r/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 18 Jul 2019 17:09:24 +0900 Subject: [PATCH] [encodump] Use 'compiler' directory for documentation (#4346) * [encodump] Use 'compiler' directory for documentation This commit fixes encoduemp documentation to use recently changed 'compiler' directory. It also updates sample code to valid one. Signed-off-by: Cheongyo Bahk * Fix to 'path/to/encodump' --- compiler/encodump/README.md | 8 ++++---- compiler/encodump/src/Driver.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/compiler/encodump/README.md b/compiler/encodump/README.md index 05b3bc9..1a2b449 100644 --- a/compiler/encodump/README.md +++ b/compiler/encodump/README.md @@ -7,7 +7,7 @@ Sources for _encodump_ are: 1. enco frontend library `*.so` file 1. model description file for matching to enco frontend ``` -nncc$ build/contrib/encodump/encodump \ +$ path/to/encodump \ --frontend [enco frontend library .so file] --frontend-arg [model file] ... ``` @@ -18,9 +18,9 @@ Output is dumped into terminal. ## Example ``` -nncc$ ./build/contrib/encodump/encodump \ - --frontend ./build/contrib/enco/frontend/tflite/libenco_tflite_frontend.so \ - --frontend-arg ./build/contrib/enco/test/tflite/Conv2D_000.tflite +nncc$ ./build/compiler/encodump/encodump \ + --frontend ./build/compiler/enco/frontend/tflite/libenco_tflite_frontend.so \ + --frontend-arg ./build/compiler/enco/test/tflite/Conv2D_000.tflite ``` Output: diff --git a/compiler/encodump/src/Driver.cpp b/compiler/encodump/src/Driver.cpp index aab8f35..416145e 100644 --- a/compiler/encodump/src/Driver.cpp +++ b/compiler/encodump/src/Driver.cpp @@ -148,10 +148,10 @@ private: * @brief Dump IR for given arguments * * Call example: - * $ ./build/contrib/encodump/encodump \ - * --frontend build/contrib/enco/frontend/caffe/libenco_caffe_frontend.so \ - * --frontend-arg build/contrib/enco/test/caffe/003.prototxt \ - * --frontend-arg build/contrib/enco/test/caffe/003.caffemodel + * $ ./build/compiler/encodump/encodump \ + * --frontend build/compiler/enco/frontend/caffe/libenco_caffe_frontend.so \ + * --frontend-arg build/compiler/enco/test/caffe/Convolution_003.prototxt \ + * --frontend-arg build/compiler/enco/test/caffe/Convolution_003.caffemodel */ static int entry(int argc, char **argv) { -- 2.7.4