def METHOD_NAME(self, batch_size, stride, pad, kernel,
                          dilation, size, channels, order, gc, dc):
    assume(size >= dilation * (kernel - 1) + 1)
    op = core.CreateOperator(
        "Im2Col",
        ["X"], ["Y"],
        stride=stride,
        kernel=kernel,
        dilation=dilation,
        pad=pad,
        order=order,
        device_option=gc)
    X = np.random.rand(batch_size, channels, size, size).astype(np.float32)
    self.assertGradientChecks(gc, op, [X], 0, [0])
    return