Add comment for tensorflow_max_ex (#3526)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 8 Nov 2018 08:16:17 +0000 (17:16 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 8 Nov 2018 08:16:17 +0000 (17:16 +0900)
Add comment for tensorflow_max_ex in NeuralNetworksEx.h

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
include/NeuralNetworksEx.h

index ee76d7b..e68fa54 100644 (file)
@@ -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 */
 
     /**