blob: ac27ab52d9993e8230f415a37ee04b6b14e9f797 [file] [log] [blame]
surmeh0149b9e102018-05-17 14:11:25 +01001------ ArmNN for Android NNAPI supported operations ------
telsoa015307bc12018-03-09 13:51:08 +00002
Matthew Benthama3e23ca2019-05-13 12:49:59 +01003This release of ArmNN for Android supports use as a driver for the Android Neural Networks API. It implements the
4android.hardware.neuralnetworks@1.0 and android.hardware.neuralnetworks@1.1 HAL interfaces.
telsoa015307bc12018-03-09 13:51:08 +00005
6For more information on the Android Neural Networks API, see https://developer.android.com/ndk/guides/neuralnetworks/index.html
7
8For integration and usage documentation, please see README.md.
9
10--- Support for Android Neural Networks HAL operations ---
11
12The following AndroidNN operations are currently supported.
13
14AndroidNN operator Tensor type supported
Matthew Benthamb92f8902019-06-05 09:24:31 +010015ADD (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000016AVERAGE_POOL_2D (FLOAT32,QUANT8_ASYMM)
Sadik Armagan82fbeb32018-12-20 17:12:26 +000017BATCH_TO_SPACE_ND (FLOAT32,QUANT8_ASYMM)
Matthew Benthamb92f8902019-06-05 09:24:31 +010018CONCATENATION (FLOAT32,QUANT8_ASYMM)
19CONV_2D (FLOAT32,QUANT8_ASYMM)
20DEPTHWISE_CONV_2D (FLOAT32,QUANT8_ASYMM)
21DIV (FLOAT32,QUANT8_ASYMM)
22DEQUANTIZE (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000023FLOOR (FLOAT32)
Matthew Bentham378333d2018-10-01 16:07:27 +010024FULLY_CONNECTED (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000025L2_NORMALIZATION (FLOAT32)
nikraj01c6494cc2019-05-22 16:30:44 +010026L2_POOL_2D (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000027LOCAL_RESPONSE_NORMALIZATION (FLOAT32)
Matthew Benthamb92f8902019-06-05 09:24:31 +010028LOGISTIC (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000029LSTM (FLOAT32)
telsoa015307bc12018-03-09 13:51:08 +000030MAX_POOL_2D (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000031MEAN (FLOAT32,QUANT8_ASYMM)
Matthew Benthamb92f8902019-06-05 09:24:31 +010032MUL (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000033PAD (FLOAT32,QUANT8_ASYMM)
Matthew Benthamb92f8902019-06-05 09:24:31 +010034RELU (FLOAT32,QUANT8_ASYMM)
35RELU1 (FLOAT32,QUANT8_ASYMM)
36RELU6 (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000037RESHAPE (FLOAT32,QUANT8_ASYMM)
nikraj01c6494cc2019-05-22 16:30:44 +010038RESIZE_BILINEAR (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000039SOFTMAX (FLOAT32,QUANT8_ASYMM)
Sadik Armagan82fbeb32018-12-20 17:12:26 +000040SPACE_TO_BATCH_ND (FLOAT32,QUANT8_ASYMM)
saoste01b8471482018-10-10 09:44:51 +010041SQUEEZE (FLOAT32,QUANT8_ASYMM)
Sadik Armagan82fbeb32018-12-20 17:12:26 +000042STRIDED_SLICE (FLOAT32,QUANT8_ASYMM)
Matthew Benthamb92f8902019-06-05 09:24:31 +010043SUB (FLOAT32,QUANT8_ASYMM)
44TANH (FLOAT32,QUANT8_ASYMM)
saoste01fe463152018-10-18 17:49:56 +010045TRANSPOSE (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000046
telsoa015307bc12018-03-09 13:51:08 +000047
48--- Unsupported operators ---
49
telsoa01ce3e84a2018-08-31 09:31:35 +010050The following AndroidNN 1.0 operations are currently not supported.
telsoa015307bc12018-03-09 13:51:08 +000051
52DEPTH_TO_SPACE
telsoa015307bc12018-03-09 13:51:08 +000053EMBEDDING_LOOKUP
54HASHTABLE_LOOKUP
55LSH_PROJECTION
telsoa015307bc12018-03-09 13:51:08 +000056RNN
57SPACE_TO_DEPTH
58SVDF
59
60Where 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.