code: def check_log_cdf(self, is_gpu):
      smp = self.sample_for_test()
      if is_gpu:
          log_cdf1 = self.gpu_dist.log_cdf(cuda.to_gpu(smp)).data
      else:
          log_cdf1 = self.cpu_dist.log_cdf(smp).data
      log_cdf2 = self.scipy_dist.logcdf(smp, **self.scipy_params)
      array.assert_allclose(log_cdf1, log_cdf2)
  
imports: import functools
  import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer.testing import array
  from chainer.testing import attr
  from chainer import utils
label_desc: Use image node_id 18 for calling the distribution_unittest obj's underlying member method code with example usage: obj.check_log_cdf(is_gpu) without return types