def wrapDeconvNd(data, W, bias, stride, pad, dilation, groups, algo): assert dilation == (1, 1) and groups == 1 return MIOpen.conv2d(data, W, bias, stride, pad, mode=MIOpen.ConvMode.transpose, algo=algo)
def wrapConvNd(data, W, bias, stride, pad, dilation, groups, algo): assert dilation == (1, 1) and groups == 1 return MIOpen.conv2d(data, W, bias, stride, pad, algo=algo)