From 146bd3dbd910a8961886007fbf9a6c5573053dfc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Staff=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Thu, 8 Nov 2018 17:16:17 +0900 Subject: [PATCH] Add comment for tensorflow_max_ex (#3526) Add comment for tensorflow_max_ex in NeuralNetworksEx.h Signed-off-by: Hyeongseok Oh --- include/NeuralNetworksEx.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/include/NeuralNetworksEx.h b/include/NeuralNetworksEx.h index ee76d7b..e68fa54 100644 --- a/include/NeuralNetworksEx.h +++ b/include/NeuralNetworksEx.h @@ -61,7 +61,27 @@ typedef enum { ANEURALNETWORKS_CAST_EX = 50000, /**< Casts a tensor to a new type */ ANEURALNETWORKS_GATHER_EX = 50001, /**< Gather slices according to indexes and axis */ ANEURALNETWORKS_TOPK_V2_EX = 50002, /**< Find values and indices of the k largest elements */ - ANEURALNETWORKS_TENSORFLOW_MAX_EX = 50003, /**< Computes the maximum of elements across dimensions of a tensor */ + + /** + * Computes the maximum 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} + * * {@link ANEURALNETWORKS_TENSOR_QUANT8_ASYMM} + * + * 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_MAX_EX = 50003, ANEURALNETWORKS_SPLIT_EX = 50004, /**< Splits a tensor into sub tensors */ /** -- 2.7.4