From: Prasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 Date: Wed, 31 Oct 2018 06:00:09 +0000 (+0530) Subject: Introduce SQRT_EX in NeuralNetworksEx.h (#3400) X-Git-Tag: 0.3~495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f66cf87f7b12f6ef2d9451ed4e06df1718be7557;p=platform%2Fcore%2Fml%2Fnnfw.git Introduce SQRT_EX in NeuralNetworksEx.h (#3400) This patch includes SQRT_EX in NeuralNetworksEx.h Related issue: #3341 Signed-off-by: prasannar --- 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;