aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEMagnitude.h
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2017-10-04 15:27:37 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit3c5f949ad73fff961a7d193c9275b73df13b8096 (patch)
treef7285b4223d2f40907ac5edb4d32bfe3c2883830 /arm_compute/runtime/NEON/functions/NEMagnitude.h
parent0063380ca6e43d04722707c707e610b59e1f8dde (diff)
downloadComputeLibrary-3c5f949ad73fff961a7d193c9275b73df13b8096.tar.gz
COMPMID-575: Port Magnitude to new validation
Change-Id: I2600947bef30853d00adfa4b919dbcb860de9bfd Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91717 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEMagnitude.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEMagnitude.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEMagnitude.h b/arm_compute/runtime/NEON/functions/NEMagnitude.h
index 6c1f988ef0..5bc3faf664 100644
--- a/arm_compute/runtime/NEON/functions/NEMagnitude.h
+++ b/arm_compute/runtime/NEON/functions/NEMagnitude.h
@@ -39,9 +39,10 @@ public:
* @param[in] input1 First tensor input. Data type supported: S16.
* @param[in] input2 Second tensor input. Data type supported: S16.
* @param[out] output Output tensor. Data type supported: S16.
+ * @param[in] mag_type (Optional) Magnitude calculation type. Default: L2NORM.
* @param[in] use_fp16 (Optional) If true the FP16 kernels will be used. If false F32 kernels are used.
*/
- void configure(const ITensor *input1, const ITensor *input2, ITensor *output, bool use_fp16 = false);
+ void configure(const ITensor *input1, const ITensor *input2, ITensor *output, MagnitudeType mag_type = MagnitudeType::L2NORM, bool use_fp16 = false);
};
}
#endif /*__ARM_COMPUTE_NEMAGNITUDE_H__ */