diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py index 6f7772db2d57..69397a921b8a 100644 --- a/tests/python/unittest/test_operator.py +++ b/tests/python/unittest/test_operator.py @@ -1662,7 +1662,8 @@ def test_depthwise_convolution(): dev = default_context() exe1 = y1.simple_bind(dev, x=shape) - exe2 = y2.simple_bind(dev, x=shape, w=(num_filter, shape[1]//num_group)+kernel, + print("default context is: ", dev) + exe2 = y2.simple_bind(mx.cpu(), x=shape, w=(num_filter, shape[1]//num_group)+kernel, b=(num_filter,)) for arr1, arr2 in zip(exe1.arg_arrays, exe2.arg_arrays): arr1[:] = np.random.normal(size=arr1.shape)