From: Prasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 Date: Wed, 14 Nov 2018 07:35:04 +0000 (+0530) Subject: Define TENSORFLOW_SUM in NeuralNetworksEx.h (#3578) X-Git-Tag: 0.3~419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8376196f5f777042134418fe77b83dfb1298db0b;p=platform%2Fcore%2Fml%2Fnnfw.git Define TENSORFLOW_SUM in NeuralNetworksEx.h (#3578) This patch defines TENSORFLOW_SUM in NeuralNetworksEx.h. Related issue: #3347. Signed-off-by: prasannar --- diff --git a/include/NeuralNetworksEx.h b/include/NeuralNetworksEx.h index e68fa54..0b5366c 100644 --- a/include/NeuralNetworksEx.h +++ b/include/NeuralNetworksEx.h @@ -172,6 +172,25 @@ typedef enum { * * 0: The output tensor, of the same {@link OperandCode} and shape as input0. */ ANEURALNETWORKS_EXP_EX = 50008, + + /** + * Computes the sum of elements across dimensions of a tensor. + * + * Reduces the input tensor along the given dimensions to reduce. + * + * Supported tensor {@link OperandCode}: + * * {@link ANEURALNETWORKS_TENSOR_FLOAT32} + * + * Supported tensor rank: up to 4 + * + * Inputs: + * * 0: A tensor, specifying the input. + * * 1: A 1-D Tensor of {@link ANEURALNETWORKS_TENSOR_INT32}. The dimensions + * to reduce. + * + * Outputs: + * * 0: A tensor of the same {@link OperandCode} as input0. + */ ANEURALNETWORKS_TENSORFLOW_SUM_EX = 50009, ANEURALNETWORKS_TRANSPOSE_CONV_EX = 50010,