Introduce SQRT_EX in NeuralNetworksEx.h (#3400)
authorPrasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Wed, 31 Oct 2018 06:00:09 +0000 (11:30 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 31 Oct 2018 06:00:09 +0000 (15:00 +0900)
This patch includes SQRT_EX in NeuralNetworksEx.h
Related issue: #3341

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

index 10a9590..1778621 100644 (file)
@@ -48,6 +48,24 @@ typedef enum {
     ANEURALNETWORKS_PACK_EX = 50013,
     ANEURALNETWORKS_UNPACK_EX = 50014,
     ANEURALNETWORKS_ARGMAX_EX = 50015,
+
+    /**
+     * Element-wise square root computation of the input tensor.
+     *
+     * It returns (y = sqrt(x)) element-wise.
+     *
+     * Supported tensor {@link OperandCode}:
+     * * {@link ANEURALNETWORKS_TENSOR_FLOAT32}
+     *
+     * Supported tensor rank: up to 4
+     *
+     * Inputs:
+     * * 0: An n-D tensor, specifying the first input.
+     *
+     * Outputs:
+     * * 0: The output tensor, of the same {@link OperandCode}
+     */
+    ANEURALNETWORKS_SQRT_EX = 50016,
 } OperationCodeEx;  // extends OperationCode
 
 typedef OperationCodeEx ANeuralNetworksOperationTypeEx;