예제 #1
0
파일: Basic.py 프로젝트: rsarbaev/PuzzleLib
 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)
예제 #2
0
파일: Basic.py 프로젝트: rsarbaev/PuzzleLib
 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)