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 | |
Matthew Bentham | a3e23ca | 2019-05-13 12:49:59 +0100 | [diff] [blame] | 3 | This release of ArmNN for Android supports use as a driver for the Android Neural Networks API. It implements the |
| 4 | android.hardware.neuralnetworks@1.0 and android.hardware.neuralnetworks@1.1 HAL interfaces. |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 5 | |
| 6 | For more information on the Android Neural Networks API, see https://developer.android.com/ndk/guides/neuralnetworks/index.html |
| 7 | |
| 8 | For integration and usage documentation, please see README.md. |
| 9 | |
| 10 | --- Support for Android Neural Networks HAL operations --- |
| 11 | |
| 12 | The following AndroidNN operations are currently supported. |
| 13 | |
| 14 | AndroidNN operator Tensor type supported |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 15 | ADD (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 16 | AVERAGE_POOL_2D (FLOAT32,QUANT8_ASYMM) |
Sadik Armagan | 82fbeb3 | 2018-12-20 17:12:26 +0000 | [diff] [blame] | 17 | BATCH_TO_SPACE_ND (FLOAT32,QUANT8_ASYMM) |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 18 | CONCATENATION (FLOAT32,QUANT8_ASYMM) |
| 19 | CONV_2D (FLOAT32,QUANT8_ASYMM) |
| 20 | DEPTHWISE_CONV_2D (FLOAT32,QUANT8_ASYMM) |
| 21 | DIV (FLOAT32,QUANT8_ASYMM) |
| 22 | DEQUANTIZE (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 23 | FLOOR (FLOAT32) |
Matthew Bentham | 378333d | 2018-10-01 16:07:27 +0100 | [diff] [blame] | 24 | FULLY_CONNECTED (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 25 | L2_NORMALIZATION (FLOAT32) |
nikraj01 | c6494cc | 2019-05-22 16:30:44 +0100 | [diff] [blame] | 26 | L2_POOL_2D (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 27 | LOCAL_RESPONSE_NORMALIZATION (FLOAT32) |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 28 | LOGISTIC (FLOAT32,QUANT8_ASYMM) |
Ferran Balaguer | d04c043 | 2018-11-15 14:48:05 +0000 | [diff] [blame] | 29 | LSTM (FLOAT32) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 30 | MAX_POOL_2D (FLOAT32,QUANT8_ASYMM) |
Ferran Balaguer | d04c043 | 2018-11-15 14:48:05 +0000 | [diff] [blame] | 31 | MEAN (FLOAT32,QUANT8_ASYMM) |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 32 | MUL (FLOAT32,QUANT8_ASYMM) |
Ferran Balaguer | d04c043 | 2018-11-15 14:48:05 +0000 | [diff] [blame] | 33 | PAD (FLOAT32,QUANT8_ASYMM) |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 34 | RELU (FLOAT32,QUANT8_ASYMM) |
| 35 | RELU1 (FLOAT32,QUANT8_ASYMM) |
| 36 | RELU6 (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 37 | RESHAPE (FLOAT32,QUANT8_ASYMM) |
nikraj01 | c6494cc | 2019-05-22 16:30:44 +0100 | [diff] [blame] | 38 | RESIZE_BILINEAR (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 39 | SOFTMAX (FLOAT32,QUANT8_ASYMM) |
Sadik Armagan | 82fbeb3 | 2018-12-20 17:12:26 +0000 | [diff] [blame] | 40 | SPACE_TO_BATCH_ND (FLOAT32,QUANT8_ASYMM) |
saoste01 | b847148 | 2018-10-10 09:44:51 +0100 | [diff] [blame] | 41 | SQUEEZE (FLOAT32,QUANT8_ASYMM) |
Sadik Armagan | 82fbeb3 | 2018-12-20 17:12:26 +0000 | [diff] [blame] | 42 | STRIDED_SLICE (FLOAT32,QUANT8_ASYMM) |
Matthew Bentham | b92f890 | 2019-06-05 09:24:31 +0100 | [diff] [blame^] | 43 | SUB (FLOAT32,QUANT8_ASYMM) |
| 44 | TANH (FLOAT32,QUANT8_ASYMM) |
saoste01 | fe46315 | 2018-10-18 17:49:56 +0100 | [diff] [blame] | 45 | TRANSPOSE (FLOAT32,QUANT8_ASYMM) |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 46 | |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 47 | |
| 48 | --- Unsupported operators --- |
| 49 | |
telsoa01 | ce3e84a | 2018-08-31 09:31:35 +0100 | [diff] [blame] | 50 | The following AndroidNN 1.0 operations are currently not supported. |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 51 | |
| 52 | DEPTH_TO_SPACE |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 53 | EMBEDDING_LOOKUP |
| 54 | HASHTABLE_LOOKUP |
| 55 | LSH_PROJECTION |
telsoa01 | 5307bc1 | 2018-03-09 13:51:08 +0000 | [diff] [blame] | 56 | RNN |
| 57 | SPACE_TO_DEPTH |
| 58 | SVDF |
| 59 | |
| 60 | 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. |