提交 34b504eb 编写于 作者: S slf12

fix details

上级 f38831bd
...@@ -70,7 +70,7 @@ def _merge_config(old_config, new_config): ...@@ -70,7 +70,7 @@ def _merge_config(old_config, new_config):
supported, now supported dtypes are {} \ supported, now supported dtypes are {} \
".format(dtype, support_dtype) ".format(dtype, support_dtype)
if 'threshold' in keys: if 'threshold' in keys:
assert isinstance(new_config['threshold'], (float, int)), "threshold \ assert isinstance(old_config['threshold'], (float, int)), "threshold \
must be number." must be number."
print("quant_embedding config {}".format(old_config)) print("quant_embedding config {}".format(old_config))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册