From 404462af4ca002ece819161a03a4bdb19a87abf2 Mon Sep 17 00:00:00 2001 From: Ramy Elgammal Date: Tue, 8 Nov 2022 02:14:46 +0000 Subject: Adding GpuAdd to dynamic fusion operators - Provide support for Add operator - Auto initialize the destination tensor before testing fusion in conv2d and elementwise binary ops. Resolves: COMPMID-5518 Signed-off-by: Ramy Elgammal Change-Id: Ibd815020f02b57f88eea7c2921bdcf98605d99c5 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8617 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Gunes Bayir Benchmark: Arm Jenkins --- utils/TypePrinter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 2ca7ab9b7f..0122229ed2 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -1874,6 +1874,9 @@ inline ::std::ostream &operator<<(::std::ostream &os, const ArithmeticOperation case ArithmeticOperation::POWER: os << "POWER"; break; + case ArithmeticOperation::PRELU: + os << "PRELU"; + break; default: ARM_COMPUTE_ERROR("NOT_SUPPORTED!"); } @@ -3413,7 +3416,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const experimental::dynami << "[" << "Padding=" << conv2d_attr.pad() << ", " << "Size2D=" << conv2d_attr.stride() << ", " - << "Dilation=" << conv2d_attr.dilation() << "]"; + << "Dialation=" << conv2d_attr.dilation() << "]"; return os; } -- cgit v1.2.1