Skip to content
Commit 42b94edb authored by Erik Andersson's avatar Erik Andersson Committed by patrik.gustavsson
Browse files

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's avatarerik.andersson@arm.com <erik.andersson@arm.com>
Change-Id: I46917858896fbdf52245dac6c6d9c18bc7ecdd0d
parent 2a58530d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment