fix test for cudnn v7.3 or later
@@ -287,7 +287,8 @@ class TestConvolutionBackwardData(unittest.TestCase):
if ((self.dilate > 1 and version < 6000) or
(self.groups > 1 and version < 7000)):
self.err = ValueError
- elif deterministic and (self.dilate > 1 or
+ elif deterministic and (
+ (self.dilate > 1 and (ndim != 2 or version < 7300)) or
(ndim > 2 and version < 6000) or
(ndim > 2 and self.dtype == numpy.float64)):
self.err = libcudnn.CuDNNError
