diff options
author | Ramy Elgammal <ramy.elgammal@arm.com> | 2022-11-08 02:14:46 +0000 |
---|---|---|
committer | Ramy Elgammal <ramy.elgammal@arm.com> | 2022-11-29 10:24:59 +0000 |
commit | 404462af4ca002ece819161a03a4bdb19a87abf2 (patch) | |
tree | 09cf812530afcbe3fc524ce7eded5f06129e0889 /utils | |
parent | 03b2971ac69a86f10a1566938d1a25afee15746c (diff) | |
download | ComputeLibrary-404462af4ca002ece819161a03a4bdb19a87abf2.tar.gz |
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 <ramy.elgammal@arm.com>
Change-Id: Ibd815020f02b57f88eea7c2921bdcf98605d99c5
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8617
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TypePrinter.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |