blob: da0dc5ce670f019a1adf0da6bf2cd1e99b3e02d9 [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)
telsoa015307bc12018-03-09 13:51:08 +000020FLOOR (FLOAT32)
Matthew Bentham378333d2018-10-01 16:07:27 +010021FULLY_CONNECTED (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000022L2_NORMALIZATION (FLOAT32)
23L2_POOL_2D (FLOAT32)
24LOCAL_RESPONSE_NORMALIZATION (FLOAT32)
25LOGISTIC (FLOAT32,QUANT8_ASYMM)
26MAX_POOL_2D (FLOAT32,QUANT8_ASYMM)
Matthew Bentham378333d2018-10-01 16:07:27 +010027MUL (FLOAT32,QUANT8_ASYMM)
telsoa015307bc12018-03-09 13:51:08 +000028RELU (FLOAT32,QUANT8_ASYMM)
29RELU1 (FLOAT32,QUANT8_ASYMM)
30RELU6 (FLOAT32,QUANT8_ASYMM)
31RESHAPE (FLOAT32,QUANT8_ASYMM)
32RESIZE_BILINEAR (FLOAT32)
33SOFTMAX (FLOAT32,QUANT8_ASYMM)
34TANH (FLOAT32)
telsoa01ce3e84a2018-08-31 09:31:35 +010035LSTM (FLOAT32)
telsoa015307bc12018-03-09 13:51:08 +000036
surmeh0149b9e102018-05-17 14:11:25 +010037* 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 +000038
39--- Unsupported operators ---
40
telsoa01ce3e84a2018-08-31 09:31:35 +010041The following AndroidNN 1.0 operations are currently not supported.
telsoa015307bc12018-03-09 13:51:08 +000042
43DEPTH_TO_SPACE
44DEQUANTIZE
45EMBEDDING_LOOKUP
46HASHTABLE_LOOKUP
47LSH_PROJECTION
telsoa015307bc12018-03-09 13:51:08 +000048RNN
49SPACE_TO_DEPTH
50SVDF
51
52Where 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.
telsoa01ce3e84a2018-08-31 09:31:35 +010053
54The following AndroidNN 1.1 operations are currently not supported.
55
56BATCH_TO_SPACE_ND
57DIV
58MEAN
59PAD
60SPACE_TO_BATCH_ND
61SQUEEZE
62STRIDED_SLICE
63SUB
64TRANSPOSE
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.