When I use the code like
class Classify(nn.Module):
    def __init__(self, opt):
        self.convs = [nn.Conv2d(1, opt.kernel_num, (k, opt.word_vec_size), padding=0) for k in opt.kernel_sizes]

    def forward(self, x):
        x = [F.relu(conv(x)).squeeze(3) for conv in self.convs]

I got the problem “RuntimeError: CUDNN_STATUS_MAPPING_ERROR”, and I simple use the single Conv2d function is alright.
Does this kind of model list ([ conv2d, conv2d, …]) have some problem with the cnn mapping?