diff options
author | erik.andersson@arm.com <erik.andersson@arm.com> | 2021-02-11 14:02:08 +0100 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2021-02-12 13:30:07 +0000 |
commit | 42b94edb8bcd71057ebeac2fa255d44dbf56a0f3 (patch) | |
tree | 777566e204fca798d9f993a13c2a028ac247d730 /ethosu/vela/hillclimb_allocation.py | |
parent | 2a58530de2686a3dc1cbe791f1f951b9ea7c39aa (diff) | |
download | ethos-u-vela-42b94edb8bcd71057ebeac2fa255d44dbf56a0f3.tar.gz |
MLBEDSW-3902: Fixes invalid op when cloning LeakyReLU operator
When running specific networks containing LeakyReLU operators, Vela would crash when cloning an ofm of a LeakyReLU operator.
In this procedure a deepcopy usage would try to copy an OperatorInfo object, which caused an error.
This was fixed by replacing the deepcopy usage with a copy and then manually referencing new instances of sensitive variables.
Signed-off-by: erik.andersson@arm.com <erik.andersson@arm.com>
Change-Id: I46917858896fbdf52245dac6c6d9c18bc7ecdd0d
Diffstat (limited to 'ethosu/vela/hillclimb_allocation.py')
0 files changed, 0 insertions, 0 deletions