Skip to content

Commit

Permalink
Removing unnecessary code.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 16, 2019
1 parent 8bace10 commit 6d62dc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions tests/python/relay/test_qnn_quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
from tvm import relay
from tvm.contrib import graph_runtime

def run_infer_type(expr):
mod = relay.Module.from_expr(expr)
mod = relay.transform.InferType()(mod)
entry = mod["main"]
return entry if isinstance(expr, relay.Function) else entry.body

def test_quantize_op():

def quantize_test_driver(in_dtype, quant_args, out_dtype, in_data, verify_output_data):
Expand Down
7 changes: 0 additions & 7 deletions tests/python/relay/test_qnn_requantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@

roundings = ["UPWARD", "TONEAREST"]

def run_infer_type(expr):
mod = relay.Module.from_expr(expr)
mod = relay.transform.InferType()(mod)
entry = mod["main"]
return entry if isinstance(expr, relay.Function) else entry.body


def test_requantize():
def verify(mod, goldens):
with relay.build_config(opt_level=3):
Expand Down

0 comments on commit 6d62dc5

Please sign in to comment.