blob: f764d5abb4bbf8ec398a76710d52684f97853083 [file] [log] [blame]
surmeh0149b9e102018-05-17 14:11:25 +01001------ ArmNN for Android NNAPI supported operations ------
telsoa015307bc12018-03-09 13:51:08 +00002
3This 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.
telsoa01ce3e84a2018-08-31 09:31:35 +01004android.hardware.neuralnetworks@1.1 models available in Android P can be executed if they return true from the utility method compliantWithV1_0(model).
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 Bentham378333d2018-10-01 16:07:27 +010015ADD (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000016AVERAGE_POOL_2D (FLOAT32,QUANT8_ASYMM)
17CONCATENATION (FLOAT32)
surmeh0149b9e102018-05-17 14:11:25 +010018CONV_2D (FLOAT32,QUANT8_ASYMM)
19DEPTHWISE_CONV_2D* (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000020DIV (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000021FLOOR (FLOAT32)
Matthew Bentham378333d2018-10-01 16:07:27 +010022FULLY_CONNECTED (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000023L2_NORMALIZATION (FLOAT32)
24L2_POOL_2D (FLOAT32)
25LOCAL_RESPONSE_NORMALIZATION (FLOAT32)
26LOGISTIC (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000027LSTM (FLOAT32)
telsoa015307bc12018-03-09 13:51:08 +000028MAX_POOL_2D (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000029MEAN (FLOAT32,QUANT8_ASYMM)
Matthew Bentham378333d2018-10-01 16:07:27 +010030MUL (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000031PAD (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000032RELU (FLOAT32,QUANT8_ASYMM)
33RELU1 (FLOAT32,QUANT8_ASYMM)
34RELU6 (FLOAT32,QUANT8_ASYMM)
35RESHAPE (FLOAT32,QUANT8_ASYMM)
36RESIZE_BILINEAR (FLOAT32)
37SOFTMAX (FLOAT32,QUANT8_ASYMM)
saoste01b8471482018-10-10 09:44:51 +010038SQUEEZE (FLOAT32,QUANT8_ASYMM)
Ferran Balaguerd04c0432018-11-15 14:48:05 +000039SUB (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000040TANH (FLOAT32)
saoste01fe463152018-10-18 17:49:56 +010041TRANSPOSE (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000042
surmeh0149b9e102018-05-17 14:11:25 +010043* Depthwise convolution only supports a value of 1 for the depth multiplier. In addition, the QUANT8_ASYMM version only supports 3x3 kernels.
telsoa015307bc12018-03-09 13:51:08 +000044
45--- Unsupported operators ---
46
telsoa01ce3e84a2018-08-31 09:31:35 +010047The following AndroidNN 1.0 operations are currently not supported.
telsoa015307bc12018-03-09 13:51:08 +000048
49DEPTH_TO_SPACE
50DEQUANTIZE
51EMBEDDING_LOOKUP
52HASHTABLE_LOOKUP
53LSH_PROJECTION
telsoa015307bc12018-03-09 13:51:08 +000054RNN
55SPACE_TO_DEPTH
56SVDF
57
58Where 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.
Ferran Balaguerda7184d2018-11-15 16:58:49 +000059
60The following AndroidNN 1.1 operations are currently not supported.
61
62BATCH_TO_SPACE_ND
63SPACE_TO_BATCH_ND
64STRIDED_SLICE
65
66Where any of these operations are present the model will return false from the compliantWithV1_0(model) and the driver will not currently be utilised.