class_docstr: A base class of objects with multi-device hierarchy.
code: def __init__(self):
      # Store overridden to_device family method names.
      self._overridden_to_methods = tuple(
          [
              m
              for m in ("to_cpu", "to_gpu", "to_intel64")
              if _is_to_device_method_overridden(self, m)
          ]
      )
  
imports: from __future__ import absolute_import
  import abc
  import sys
  import threading
  import typing
  import warnings
  import numpy
  import chainer
  from chainer import backend
  from chainer.backends import _cpu
  from chainer.backends import cuda
  from chainer.backends import intel64
  from chainer import types
  from chainer import utils
  import chainerx
label_desc: Use image node_id 1 to create a new DeviceResident object from inherited base classes:  with example: obj = DeviceResident()