diff options
author | wilisa01 <william.isaksson@arm.com> | 2023-02-20 11:49:58 +0000 |
---|---|---|
committer | Fredrik Svedberg <fredrik.svedberg@arm.com> | 2023-05-03 12:17:08 +0000 |
commit | 6fcc1f6ba0e511e84994ee45a8b34ca76a0479b2 (patch) | |
tree | f4ed297d5c685141149c93faf608c472b4bb944d /ethosu | |
parent | da67f51c64b1193fe62bc97950c789670c4dd17d (diff) | |
download | ethos-u-vela-6fcc1f6ba0e511e84994ee45a8b34ca76a0479b2.tar.gz |
MLBEDSW-7234: Vela assert on int16 Min+Relu
fixed by using sched op instead of last pass op
Change-Id: I2e03d39462ca07372d85c71e78189bd8c58a1b9c
Signed-off-by: wilisa01 <william.isaksson@arm.com>
Diffstat (limited to 'ethosu')
-rw-r--r-- | ethosu/vela/high_level_command_stream_generator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/high_level_command_stream_generator.py b/ethosu/vela/high_level_command_stream_generator.py index 770241bc..961f8add 100644 --- a/ethosu/vela/high_level_command_stream_generator.py +++ b/ethosu/vela/high_level_command_stream_generator.py @@ -180,7 +180,7 @@ def generate_high_level_commands_for_sched_op(sched_op, schedule): read_offsets[0], read_shapes[0], upscaling, - op.type, + sched_op.op_type, ) # Calculate IFM2 input box based on the OFM box if ifm2: @@ -194,7 +194,7 @@ def generate_high_level_commands_for_sched_op(sched_op, schedule): read_offsets[1], read_shapes[1], upscaling, - op.type, + sched_op.op_type, ) ifm_required = ifm_box |