Skip to content

Commit

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

Change-Id: I44f6aa0abe09d206f3e948e36e9799eaa12b3d14
  • Loading branch information
lhutton1 authored Dec 2, 2021
1 parent 6af5bbd commit f435a13
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 f435a13

Please sign in to comment.