class_docstr: A base class of objects with multi-device hierarchy.
docstr: Copies parameter variables and persistent values to CPU.
  
   .. deprecated:: v7.0.0
      Use :meth:`to_device` instead.
  
  This method does not handle non-registered attributes. If some of such
  attributes must be copied to CPU, the link implementation should
  override :meth:`~DeviceResident.device_resident_accept` to do so.
  
  Returns: self
docstr_tok: ["Copies","parameter","variables","and","persistent","values","to","CPU",".","..","deprecated",":",":","v7.0.0","Use",":","meth",":","`","to_device","`","instead",".","This","method","does","not","handle","non-registered","attributes",".","If","some","of","such","attributes","must","be","copied","to","CPU",",","the","link","implementation","should","override",":","meth",":","`","~DeviceResident.device_resident_accept","`","to","do","so",".","Returns",":","self"]
code: def to_cpu(self) -> "DeviceResident":
      """Copies parameter variables and persistent values to CPU.
  
       .. deprecated:: v7.0.0
          Use :meth:`to_device` instead.
  
      This method does not handle non-registered attributes. If some of such
      attributes must be copied to CPU, the link implementation should
      override :meth:`~DeviceResident.device_resident_accept` to do so.
  
      Returns: self
  
      """
      visitor = _ToDeviceVisitor(
          backend.CpuDevice(),
          entry_method_info=("to_cpu", {}),
          starting_device_resident=self,
      )
      self.__to_device(visitor)
      return self
  
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 5 for calling the DeviceResident obj's underlying member method code with example usage: obj.to_cpu() and returns: self