diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-06-19 12:11:06 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-06-23 09:35:45 +0000 |
commit | 294f6ffc4bde77db4be7f4c0d42d4f0d21443966 (patch) | |
tree | d5742ea81b730a489b90015e7a0168972f630e90 /tests | |
parent | 0dbb904359c2fe7c72a6c19f9eb999b426362fa1 (diff) | |
download | ComputeLibrary-294f6ffc4bde77db4be7f4c0d42d4f0d21443966.tar.gz |
COMPMID-3324: Allow in-place mutation on nodes with separate multiple inputs
The current implementation of the in-place mutator is limited by the
assumption that each node only produces one output and therefore all
its output edges represent the same tensor. This means that doing
in-place computations on it, would modify the input of other nodes.
However, this is not the case for operators like split, which creates N
different tensors, one for each output edge.
This patches relaxes this limitation by checking whether the tensor
related to a specific output edge is the same as any of the other edges.
If this is the case, then in-place computation cannot be done.
Change-Id: I3302b41b1f6ec3b4f2ac425ba381778f1c0a4f31
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3421
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions