aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-07-18 20:01:53 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit9f28b391ca69e7294ab1a52291f28b44a4ceb409 (patch)
treee96f74facda94c02546650758af4757f8cdb8959 /docs
parent9c07c9609dbc9bbeb211b3bd38195f19ab42904c (diff)
downloadComputeLibrary-9f28b391ca69e7294ab1a52291f28b44a4ceb409.tar.gz
COMPMID-1393: Update example documentation
Change-Id: I7251575645b35b611de9d8931bb2b7dbc096de13 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/140544 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/00_introduction.dox27
1 files changed, 6 insertions, 21 deletions
diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox
index 4afd6d85f4..e12c739f99 100644
--- a/docs/00_introduction.dox
+++ b/docs/00_introduction.dox
@@ -831,21 +831,14 @@ or
LD_LIBRARY_PATH=build ./cl_convolution
-@note Examples accept different types of arguments, to find out what they are run the example without any argument and the help will be displayed at the beginning of the run.
+@note Examples accept different types of arguments, to find out what they are run the example with \a --help as an argument. If no arguments are specified then random values will be used to execute the graph.
For example:
- LD_LIBRARY_PATH=. ./graph_lenet
+ LD_LIBRARY_PATH=. ./graph_lenet --help
- ./graph_lenet
-
- Usage: ./graph_lenet [target] [path_to_data] [batches]
-
- No data folder provided: using random values
-
- Test passed
-
-In this case the first argument of LeNet (like all the graph examples) is the target (i.e 0 to run on NEON, 1 to run on OpenCL if available, 2 to run on OpenCL using the CLTuner), the second argument is the path to the folder containing the npy files for the weights and finally the third argument is the number of batches to run.
+Below is a list of the common parameters among the graph examples :
+@snippet utils/CommonGraphOptions.h Common graph examples parameters
@subsection S3_3_android Building for Android
@@ -951,18 +944,10 @@ And finally to run the example:
adb shell /data/local/tmp/cl_convolution_aarch64
adb shell /data/local/tmp/gc_absdiff_aarch64
-@note Examples accept different types of arguments, to find out what they are run the example without any argument and the help will be displayed at the beginning of the run.
+@note Examples accept different types of arguments, to find out what they are run the example with \a --help as an argument. If no arguments are specified then random values will be used to execute the graph.
For example:
- adb shell /data/local/tmp/graph_lenet
-
- /data/local/tmp/graph_lenet
-
- Usage: /data/local/tmp/graph_lenet [target] [path_to_data] [batches]
-
- No data folder provided: using random values
-
- Test passed
+ adb shell /data/local/tmp/graph_lenet --help
In this case the first argument of LeNet (like all the graph examples) is the target (i.e 0 to run on NEON, 1 to run on OpenCL if available, 2 to run on OpenCL using the CLTuner), the second argument is the path to the folder containing the npy files for the weights and finally the third argument is the number of batches to run.