From: Prasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 Date: Fri, 2 Nov 2018 07:42:07 +0000 (+0530) Subject: Defining NEG_EX in NeuralNetworksEx.h (#3417) X-Git-Tag: 0.3~482 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0700822b6e4cf79939096f6437574fd9d123dc7b;p=platform%2Fcore%2Fml%2Fnnfw.git Defining NEG_EX in NeuralNetworksEx.h (#3417) This patch defines NEG_EX in NeuralNetworksEx.h Related issue: #3347 Signed-off-by: prasannar --- diff --git a/include/NeuralNetworksEx.h b/include/NeuralNetworksEx.h index 12c7a52..a61ca64 100644 --- a/include/NeuralNetworksEx.h +++ b/include/NeuralNetworksEx.h @@ -68,6 +68,25 @@ typedef enum { * * 0: The output tensor, of the same {@link OperandCode} */ ANEURALNETWORKS_SQUARED_DIFFERENCE_EX = 50006, + + /** + * Computes numerical negative value element-wise on the input tensor. + * + * Given an input tensor of {@link OperandCode}, + * The output is the numerical negative value element-wise on the input tensor. + * + * Supported tensor {@link OperandCode}: + * * {@link ANEURALNETWORKS_TENSOR_FLOAT32} + * * {@link ANEURALNETWORKS_TENSOR_INT32} + * + * Supported tensor rank: up to 4 + * + * Inputs: + * * 0: An n-D tensor, specifying the input. + * + * Outputs: + * * 0: The output tensor, of the same {@link OperandCode} and shape as input0 + */ ANEURALNETWORKS_NEG_EX = 50007, /**