surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame^] | 1 | ------ ArmNN for Android NNAPI supported operations ------ |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 2 | |
| 3 | This release of ArmNN for Android supports use as a driver for the Android Neural Networks API. It implements the android.hardware.neuralnetworks@1.0 interface. |
| 4 | |
| 5 | For more information on the Android Neural Networks API, see https://developer.android.com/ndk/guides/neuralnetworks/index.html |
| 6 | |
| 7 | For integration and usage documentation, please see README.md. |
| 8 | |
| 9 | --- Support for Android Neural Networks HAL operations --- |
| 10 | |
| 11 | The following AndroidNN operations are currently supported. |
| 12 | |
| 13 | AndroidNN operator Tensor type supported |
| 14 | ADD (FLOAT32) |
| 15 | AVERAGE_POOL_2D (FLOAT32,QUANT8_ASYMM) |
| 16 | CONCATENATION (FLOAT32) |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame^] | 17 | CONV_2D (FLOAT32,QUANT8_ASYMM) |
| 18 | DEPTHWISE_CONV_2D* (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 19 | FLOOR (FLOAT32) |
| 20 | FULLY_CONNECTED (FLOAT32) |
| 21 | L2_NORMALIZATION (FLOAT32) |
| 22 | L2_POOL_2D (FLOAT32) |
| 23 | LOCAL_RESPONSE_NORMALIZATION (FLOAT32) |
| 24 | LOGISTIC (FLOAT32,QUANT8_ASYMM) |
| 25 | MAX_POOL_2D (FLOAT32,QUANT8_ASYMM) |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame^] | 26 | MUL (FLOAT32) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 27 | RELU (FLOAT32,QUANT8_ASYMM) |
| 28 | RELU1 (FLOAT32,QUANT8_ASYMM) |
| 29 | RELU6 (FLOAT32,QUANT8_ASYMM) |
| 30 | RESHAPE (FLOAT32,QUANT8_ASYMM) |
| 31 | RESIZE_BILINEAR (FLOAT32) |
| 32 | SOFTMAX (FLOAT32,QUANT8_ASYMM) |
| 33 | TANH (FLOAT32) |
| 34 | |
surmeh01 | 49b9e10 | 2018-05-17 14:11:25 +0100 | [diff] [blame^] | 35 | * Depthwise convolution only supports a value of 1 for the depth multiplier. In addition, the QUANT8_ASYMM version only supports 3x3 kernels. |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 36 | |
| 37 | --- Unsupported operators --- |
| 38 | |
| 39 | The following AndroidNN operations are currently not supported. |
| 40 | |
| 41 | DEPTH_TO_SPACE |
| 42 | DEQUANTIZE |
| 43 | EMBEDDING_LOOKUP |
| 44 | HASHTABLE_LOOKUP |
| 45 | LSH_PROJECTION |
| 46 | LSTM |
| 47 | RNN |
| 48 | SPACE_TO_DEPTH |
| 49 | SVDF |
| 50 | |
| 51 | Where operations are not supported by the ArmNN Android NN Driver, the driver indicates this to the framework appropriately and the framework implements those operations using a CPU implementation. |