code: def _raise_from(exc_type, message, orig_exc):
      # Raises an exception that wraps another exception.
      message = (
          "{}\n\n"
          "(caused by)\n"
          "{}: {}\n".format(message, type(orig_exc).__name__, orig_exc)
      )
      new_exc = exc_type(message)
      if sys.version_info < (3,):
          six.reraise(exc_type, new_exc, sys.exc_info()[2])
      else:
          six.raise_from(
              new_exc.with_traceback(orig_exc.__traceback__), None
          )
  
imports: import collections
  import contextlib
  import shutil
  import sys
  import tempfile
  import numpy
  import six
  import chainer
  from chainer.utils.array import size_of_shape
  from chainer.utils.array import sum_to
  from chainer.utils.conv import get_conv_outsize
  from chainer.utils.conv import get_deconv_outsize
  from chainer.utils.error import _format_array_props
  from chainer.utils.experimental import experimental
  from chainer.utils.meta import enable_final
  from chainer.utils.meta import final
  from chainer.utils.nondeterministic import nondeterministic
  from chainer.utils.sparse import CooMatrix
  from chainer.utils.sparse import get_order
  from chainer.utils.sparse import to_coo
label_desc: Use image node_id 6 for calling a global function with example usage: _raise_from(exc_type, message, orig_exc) without return types