Skip to content

Commit

Permalink
Remove merge artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Fromm authored Mar 22, 2021
1 parent eba7d63 commit fa6dd4d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/python/driver/tvmc/test_frontends.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,8 @@ def verify_load_model__onnx(model, **kwargs):
def test_load_model__onnx(onnx_resnet50):
# some CI environments wont offer onnx, so skip in case it is not present
pytest.importorskip("onnx")
<<<<<<< HEAD
mod, params = verify_load_model__onnx(onnx_resnet50)
# check whether one known value is part of the params dict
=======

mod, params = tvmc.load(onnx_resnet50)
assert type(mod) is IRModule
assert type(params) is dict
## check whether one known value is part of the params dict
>>>>>>> adjust tests to new imports
assert "resnetv24_batchnorm0_gamma" in params.keys()
mod, params = verify_load_model__onnx(onnx_resnet50, freeze_params=True)
# check that the parameter dict is empty, implying that they have been folded into constants
Expand Down

0 comments on commit fa6dd4d

Please sign in to comment.