I use cudnn_convolution_backward in ATen/NativeFunctions.h, that return an std::tuple of three at::Tensors, output_mask is defined as std::array<bool, 3>.
Is the version of my pytorch different from yours? The version of pytorch is 1.4.