Defining NEG_EX in NeuralNetworksEx.h (#3417)
authorPrasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Fri, 2 Nov 2018 07:42:07 +0000 (13:12 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 2 Nov 2018 07:42:07 +0000 (16:42 +0900)
This patch defines NEG_EX in NeuralNetworksEx.h
Related issue: #3347

Signed-off-by: prasannar <prasanna.r@samsung.com>
include/NeuralNetworksEx.h

index 12c7a52..a61ca64 100644 (file)
@@ -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,
 
     /**