code: def _outsize(x):
      if isinstance(x, chainer.utils.collections_abc.Iterable):
          if len(x) == 2:
              return (None,) + x
          else:
              return x
      return None, x, x
  
imports: import chainer
  from chainer.backends import cuda
  import chainer.functions
  from chainer import gradient_check
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
  import numpy
  import unittest
  from chainercv import functions
label_desc: Use image node_id 1 for calling a global function with example usage: _outsize(x) and returns: None,  x,  x, unknown, x