Skip to content

Commit

Permalink
[microNPU] Add RequantizeArgs import to MeanParams (apache#9636)
Browse files Browse the repository at this point in the history
Fixes failing CI since CI on apache#9576 passed before apache#9624 was merged.

Change-Id: I44f6aa0abe09d206f3e948e36e9799eaa12b3d14
  • Loading branch information
lhutton1 authored and ylc committed Jan 13, 2022
1 parent f89be0c commit f09081b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/tvm/relay/op/contrib/ethosu.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,8 @@ class MeanParams:
composite_name = "ethos-u.mean"

def __init__(self, func_body: Call):
from tvm.relay.backend.contrib.ethosu.util import RequantArgs

requantize = func_body
mean_op = requantize.args[0]
attrs = mean_op.attrs
Expand Down

0 comments on commit f09081b

Please sign in to comment.