From: Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 Date: Tue, 4 Dec 2018 02:40:49 +0000 (+0530) Subject: Remove EQUAL delegated as custom op in nnapi_delegate (#3833) X-Git-Tag: 0.3~232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71a5101df71364301e660575b4bc90a4546c6235;p=platform%2Fcore%2Fml%2Fnnfw.git Remove EQUAL delegated as custom op in nnapi_delegate (#3833) This patch removes EQUAL delegated as custom op in nnapi_delegate Since EQUAL is built in op as far as v1.12 is concerned. Signed-off-by: prasannar --- diff --git a/libs/support/tflite/src/nnapi_delegate.cpp b/libs/support/tflite/src/nnapi_delegate.cpp index 5286ee8..96d0053 100644 --- a/libs/support/tflite/src/nnapi_delegate.cpp +++ b/libs/support/tflite/src/nnapi_delegate.cpp @@ -881,15 +881,6 @@ TfLiteStatus AddOpsAndParams( reinterpret_cast(node.outputs->data))); continue; } - else if (custom_name.compare("EQUAL") == 0) { - CHECK_NN(ANeuralNetworksModel_addOperationEx( - nn_model, ANEURALNETWORKS_EQUAL_EX, - static_cast(augmented_inputs.size()), - augmented_inputs.data(), - static_cast(node.outputs->size), - reinterpret_cast(node.outputs->data))); - continue; - } else if (custom_name.compare("TensorFlowSum") == 0) { CHECK_NN(ANeuralNetworksModel_addOperationEx( nn_model, ANEURALNETWORKS_TENSORFLOW_SUM_EX,