def check_backward(self, x_data, gy_data, use_cudnn=True): gradient_check.check_backward(functions.LogSoftmax(use_cudnn), x_data, gy_data, **self.check_backward_options)
def check_backward(self, x_data, gy_data, use_cudnn=True): gradient_check.check_backward(functions.LogSoftmax(use_cudnn), x_data, gy_data, eps=1e-2, atol=1e-3)
def check_backward(self, x_data, gy_data, use_cudnn='always'): with chainer.using_config('use_cudnn', use_cudnn): gradient_check.check_backward(functions.LogSoftmax(), x_data, gy_data, **self.check_backward_options)