Beispiel #1
0
 def wrapDeconvNdBackwardData(grad, W, data, stride, pad, dilation, groups,
                              algo):
     assert dilation == (1, 1) and groups == 1
     return MIOpen.conv2dBackwardData(grad,
                                      W,
                                      data,
                                      stride,
                                      pad,
                                      mode=MIOpen.ConvMode.transpose,
                                      algo=algo)
Beispiel #2
0
 def wrapConvNdBackwardData(grad, W, data, stride, pad, dilation, groups,
                            algo):
     assert dilation == (1, 1) and groups == 1
     return MIOpen.conv2dBackwardData(grad, W, data, stride, pad, algo=algo)