blob: 4a41e30a485462db9144dca23ad6954da9dc1054 [file] [log] [blame]
Jan Eilers3309c332021-08-17 13:50:08 +01001/// Copyright (c) 2021 ARM Limited and Contributors. All rights reserved.
2///
3/// SPDX-License-Identifier: MIT
4///
5
6namespace armnn
7{
8/**
9This is a very simple example which uses the Arm NN SDK API to create a neural network which consists of
10nothing else but a single fully connected layer with a single weights value. It's as minimalistic as it can get.
11
12@note Most of our users won't use our API to create a network manually. Usually you would use one of our software
13 tools like the @ref S6_tf_lite_parser "TfLite Parser" that will translate a TfLite model into Arm NN for you.
14 Still it's a very nice example to see how an Arm NN network is created, optimized and executed.
15
16 (You can find more complex examples using the TfLite Parser in samples/ObjectDetection and
17 samples/SpeechRecognition. And another example using @ref md_python_pyarmnn_README "PyArmnn" in
18 samples/ImageClassification)
19@example SimpleSample.cpp
20**/
21
22/**
23This is simple example that shows how to use a dynamic backend. Dynamic Backends can be compiled as standalone
24against Arm NN and can be loaded by Arm NN dynamically at runtime. This way you can quickly integrate new backends
25without having to worry or recompile Arm NN.
26
27This example makes use of a very simplistic dynamic backend called 'SampleDynamic'. There is a guide that tells you
28more about dynamic backends and how this particular backend was created so you can create a dynamic backend
29yourself @ref md_src_dynamic_README.
30@example DynamicSample.cpp
31**/
32
33/**
34This example is basically a copy of the SimpleSample example. But it makes use of a CustomAllocator to allocate
35memory for the inputs, outputs and inter layer memory.
36
37@note This is currently an experimental interface
38@example CustomMemoryAllocatorSample.cpp
39**/
40
Jan Eilerse38c4182021-09-02 13:12:11 +010041/**
42Yet another variant of the SimpleSample application. In this little sample app you will be shown how to run a
43network multiple times asynchronously.
44
45@note This is currently an experimental interface
46@example AsyncExecutionSample.cpp
47**/
48
Jan Eilers3309c332021-08-17 13:50:08 +010049}