From f66cf87f7b12f6ef2d9451ed4e06df1718be7557 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/System=20SW=20/SRI-Bangalore/Engineer/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 31 Oct 2018 11:30:09 +0530 Subject: [PATCH] Introduce SQRT_EX in NeuralNetworksEx.h (#3400) This patch includes SQRT_EX in NeuralNetworksEx.h Related issue: #3341 Signed-off-by: prasannar --- include/NeuralNetworksEx.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/NeuralNetworksEx.h b/include/NeuralNetworksEx.h index 10a9590..1778621 100644 --- a/include/NeuralNetworksEx.h +++ b/include/NeuralNetworksEx.h @@ -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; -- 2.7.4