code: def check_conv_outsize(self, size, k, s, p, d):
      # When cover_all == False, `outsize` is the maximum integer that
      # satisfies "(outsize - 1) * s + k <= w"
      w = size + p * 2
      dk = k + (k - 1) * (d - 1)
      outsize = conv.get_conv_outsize(
          size, k, s, p, cover_all=False, d=d
      )
      self.assertTrue((outsize - 1) * s + dk <= w < outsize * s + dk)
  
imports: import unittest
  import numpy
  from six import moves
  from chainer.backends import cuda
  from chainer import testing
  from chainer.testing import attr
  from chainer.utils import conv
label_desc: Use image node_id 1 for calling the TestConv obj's underlying member method code with example usage: obj.check_conv_outsize(size, k, s, p, d) without return types