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