1 /// Copyright (c) 2021 ARM Limited and Contributors. All rights reserved.
3 /// SPDX-License-Identifier: MIT
9 @page delegate TfLite Delegate
13 @section delegateintro About the delegate
14 'armnnDelegate' is a library for accelerating certain TensorFlow Lite (TfLite) operators on Arm hardware. It can be
15 integrated in TfLite using its delegation mechanism. TfLite will then delegate the execution of operators supported by
18 The main difference to our @ref S6_tf_lite_parser is the amount of operators you can run with it. If none of the active
19 backends support an operation in your model you won't be able to execute it with our parser. In contrast to that, TfLite
20 only delegates operations to the armnnDelegate if it does support them and otherwise executes them itself. In other
21 words, every TfLite model can be executed and every operation in your model that we can accelerate will be accelerated.
22 That is the reason why the armnnDelegate is our recommended way to accelerate TfLite models.
24 If you need help building the armnnDelegate, please take a look at our [build guide](delegate/BuildGuideNative.md).
25 An example how to setup TfLite to integrate the armnnDelegate can be found in this
26 guide: [Integrate the delegate into python](delegate/IntegrateDelegateIntoPython.md)
29 @section delegatesupport Supported Operators
30 This reference guide provides a list of TensorFlow Lite operators the Arm NN SDK currently supports.
32 @subsection delegatefullysupported Fully supported
34 The Arm NN SDK TensorFlow Lite delegate currently supports the following operators:
44 - AVERAGE_POOL_2D, Supported Fused Activation: RELU , RELU6 , TANH, NONE
48 - CONCATENATION, Supported Fused Activation: RELU , RELU6 , TANH, NONE
50 - CONV_2D, Supported Fused Activation: RELU , RELU6 , TANH, NONE
54 - DEPTHWISE_CONV_2D, Supported Fused Activation: RELU , RELU6 , TANH, NONE
66 - FULLY_CONNECTED, Supported Fused Activation: RELU , RELU6 , TANH, NONE
82 - LOCAL_RESPONSE_NORMALIZATION
102 - MAX_POOL_2D, Supported Fused Activation: RELU , RELU6 , TANH, NONE
130 - RESIZE_NEAREST_NEIGHBOR
162 More machine learning operators will be supported in future releases.