Reserve enums for new NNAPI ops.
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Mon, 24 Sep 2018 13:12:28 +0000 (14:12 +0100)
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Tue, 9 Oct 2018 13:09:41 +0000 (13:09 +0000)
Test: NeuralNetworksTest_static
Bug: 114365802

Change-Id: I3b379fe3f0336b92ef602bbb12a4bd4a150c573c
Merged-In: I3b379fe3f0336b92ef602bbb12a4bd4a150c573c
(cherry picked from commit 5a9362eb2d1378636fd8bf604f6536eb2a268d2c)

neuralnetworks/1.2/types.hal

index ecd99cc8e28e202f709d044e2f69c1a2509a433a..129172d25cc6c5415a55e9805db7d41ba1846494 100644 (file)
@@ -30,6 +30,52 @@ enum OperationType : @1.1::OperationType {
     ARGMAX = 38,
     ARGMIN = 39,
     PAD_V2 = 40,
+    BBOX_TRANSFORM = 41,
+    BIDIRECTIONAL_SEQUENCE_LSTM = 42,
+    BIDIRECTIONAL_SEQUENCE_RNN = 43,
+    BOX_WITH_NMS_LIMIT = 44,
+    CAST = 45,
+    CHANNEL_SHUFFLE = 46,
+    DETECTION_OUTPUT = 47,
+    EMBEDDING_LOOKUP_SPARSE = 48,
+    EXP = 49,
+    EXPAND_DIMS = 50,
+    GATHER = 51,
+    GENERATE_PROPOSALS = 52,
+    GREATER = 53,
+    GREATER_EQUAL = 54,
+    GROUPED_CONV_2D = 55,
+    HEATMAP_MAX_KEYPOINT = 56,
+    LESS = 57,
+    LESS_EQUAL = 58,
+    LOG = 59,
+    LOGICAL_AND = 60,
+    LOGICAL_NOT = 61,
+    LOGICAL_OR = 62,
+    LOG_SOFTMAX = 63,
+    MAXIMUM = 64,
+    MINIMUM = 65,
+    NEG = 66,
+    POW = 67,
+    PRELU = 68,
+    PRIOR_BOX = 69,
+    QUANTIZE = 70,
+    QUANTIZED_16BIT_LSTM = 71,
+    RANDOM_MULTINOMIAL = 72,
+    REDUCE = 73,
+    ROI_ALIGN = 74,
+    RSQRT = 75,
+    SELECT = 76,
+    SIN = 77,
+    SLICE = 78,
+    SPARSE_TO_DENSE = 78,
+    SPLIT = 79,
+    SQRT = 80,
+    TILE = 81,
+    TOPK_V2 = 82,
+    TRANSPOSE_CONV_2D = 83,
+    UNIDIRECTIONAL_SEQUENCE_LSTM = 84,
+    UNIDIRECTIONAL_SEQUENCE_RNN = 85,
 };
 
 /**