From 595280720c56717b1fb53bbd079e4477d9371947 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Wed, 16 Jan 2019 22:06:51 +0800 Subject: [PATCH] Fix test --- tests/python/quantization/test_quantization.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/python/quantization/test_quantization.py b/tests/python/quantization/test_quantization.py index e6212b84cb15..7e310cfa225d 100644 --- a/tests/python/quantization/test_quantization.py +++ b/tests/python/quantization/test_quantization.py @@ -427,7 +427,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())