diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-11-23 11:44:58 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-11-28 11:56:01 +0000 |
commit | 7900a9efa421f0ac8faf9bb939f5c536b42c62b0 (patch) | |
tree | 5f336a5be6463025ed5f88b3752aaf28d7fe46a4 /arm_compute/core/Types.h | |
parent | 3175fcf63249673f33fd1638879adad4baab545b (diff) | |
download | ComputeLibrary-7900a9efa421f0ac8faf9bb939f5c536b42c62b0.tar.gz |
COMPMID-1716: CL Comparison operations
Adds support for Equal,NotEqual,Less,LessEqual,Greater,GreaterEqual
Change-Id: If0cdf4aae7f95c94709b195eee485f6663f45909
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index d6122a683f..5ddd207100 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -125,6 +125,25 @@ enum class DataLayoutDimension BATCHES /**< batches */ }; +/** Available ConvolutionMethod*/ +enum class ConvolutionMethod +{ + GEMM, /**< Convolution using GEMM */ + DIRECT, /**< Direct convolution */ + WINOGRAD /**< Convolution using Winograd */ +}; + +/** Supported comparison operations */ +enum class ComparisonOperation +{ + Equal, /**< Equal comparison ( \f$ x == y \f$ ) */ + NotEqual, /**< NotEqual comparison ( \f$ x != y \f$ ) */ + Greater, /**< Greater comparison ( \f$ x > y \f$ ) */ + GreaterEqual, /**< Greater equal comparison ( \f$ x >= y \f$ ) */ + Less, /**< Less comparison ( \f$ x < y \f$ ) */ + LessEqual /**< Less equal comparison ( \f$ x <= y \f$ ) */ +}; + /** Quantization settings (used for QASYMM8 data type) */ struct QuantizationInfo { @@ -1795,13 +1814,5 @@ struct IOFormatInfo /** Align columns */ bool align_columns; }; - -/** Available ConvolutionMethod*/ -enum class ConvolutionMethod -{ - GEMM, /**< Convolution using GEMM */ - DIRECT, /**< Direct convolution */ - WINOGRAD /**< Convolution using Winograd */ -}; } // namespace arm_compute #endif /* __ARM_COMPUTE_TYPES_H__ */ |