Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhennanQin committed Jan 16, 2019
1 parent a55e08b commit 13ef6fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/python/quantization/test_quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ def check_params(params, qparams, qsym=None):
assert same(v.asnumpy(), qparams[k].asnumpy())
else:
qparams_ground_truth = mx.contrib.quant._quantize_params(qsym, params, th_dict = {})
assert len(qparams) == len(qparams_ground_truth)
for k, v in qparams_ground_truth.items():
assert k in qparams
assert same(v.asnumpy(), qparams[k].asnumpy())
Expand Down

0 comments on commit 13ef6fa

Please sign in to comment.