Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Change-Id: I7196a0fa468eb7c6a96f2b8a68f3a2dcf5a5693c
  • Loading branch information
lhutton1 committed Jan 20, 2022
1 parent 03958a2 commit 057e998
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion tests/python/contrib/test_ethosu/test_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,6 @@ def split_func(x):
)
def test_ethosu_requantize(accel_type, ifm_shape, ifm_scale, ifm_zp, ofm_scale, ofm_zp):
dtype = "int8"
ifm_shape = [1, 8, 8, 3]

def create_model():
ifm = relay.var("ifm", shape=ifm_shape, dtype="int8")
Expand Down
3 changes: 1 addition & 2 deletions tests/python/contrib/test_ethosu/test_legalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,6 @@ def verify(ext_func):
)
def test_ethosu_requantize(ifm_shape, ifm_scale, ifm_zp, ofm_scale, ofm_zp):
dtype = "int8"
ifm_shape = [1, 8, 8, 3]

def create_model():
ifm = relay.var("ifm", shape=ifm_shape, dtype="int8")
Expand Down Expand Up @@ -1561,7 +1560,7 @@ def verify(ext_func):

def test_multiple_requantize_offload():
"""
Testing requantize offload in the case one requauntize operation is part of
Testing requantize offload in the case one requantize operation is part of
an existing pattern (in this case Mean: cast->mean->requantize) and the
other is a stand-alone requantize.
"""
Expand Down

0 comments on commit 057e998

Please sign in to comment.