Пример #1
0
 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)
Пример #2
0
 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)