aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSiCongLi <sicong.li@arm.com>2021-10-29 15:05:49 +0100
committerSiCong Li <sicong.li@arm.com>2021-11-01 14:29:51 +0000
commiteb8bd81a625f0f87080dbde55b434362ad57324a (patch)
treefda1de0843be17266388d0d137908f392a7f694e /utils
parent1af5416917268692fcd4b34b1d7ffebd3a2aea8a (diff)
downloadComputeLibrary-eb8bd81a625f0f87080dbde55b434362ad57324a.tar.gz
Fix dst "widening" validation
* Auto-initialize the dst tensor before checking for PostOp shape compliance so that we catch the invalid case of "widening" dst tensor shape * Rework post op validate test cases to be more readable Partially resolves: COMPMID-4435 Change-Id: I79943994182942f962e4d59a7fa0d6f017ae9ac7 Signed-off-by: SiCongLi <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6548 Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h
index 64694f0e7c..30ba667b95 100644
--- a/utils/TypePrinter.h
+++ b/utils/TypePrinter.h
@@ -193,7 +193,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const experimental::IPostO
{
os << "<";
os << post_op.type() << ",";
- os << "prev_op_arg_pos=" << post_op.prev_dst_pos() << ",";
+ os << "prev_dst_pos=" << post_op.prev_dst_pos() << ",";
switch(post_op.type())
{
case experimental::PostOpType::Activation: