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

Commit 5191444

Browse files
committed
fix test
1 parent 705cc81 commit 5191444

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/python/quantization/test_quantization.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ def check_quantized_pooling(data_shape, kernel, pool_type, pad, stride, global_p
224224

225225
data = mx.sym.Variable(name='data', shape=data_shape, dtype='float32')
226226
pooling_fp32 = mx.sym.Pooling(data=data, kernel=kernel, pad=pad, stride=stride,
227-
pool_type=pool_type, global_pool=global_pool, cudnn_off=False)
227+
pool_type=pool_type, global_pool=global_pool, cudnn_off=False,
228+
pooling_convention=convention)
228229
arg_shapes, _, _ = pooling_fp32.infer_shape(data=data_shape)
229230
arg_names = pooling_fp32.list_arguments()
230231
pooling_fp32_exe = pooling_fp32.simple_bind(ctx=mx.current_context(), grad_req='null')

0 commit comments

Comments
 (0)