class_docstr: Base class of visitors that visits device resident objects recursively.
  
  ..  seealso::
      :class:`chainer.DeviceResident`
docstr: Processes a :class:`~chainer.Variable` or a :class:`~chainer.Parameter`.
docstr_tok: ["Processes","a",":","class",":","`","~chainer.Variable","`","or","a",":","class",":","`","~chainer.Parameter","`","."]
code: def visit_variable(self, param):
      """Processes a :class:`~chainer.Variable` or a \
  :class:`~chainer.Parameter`."""
      raise NotImplementedError()
  
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 3 for calling the DeviceResidentsVisitor obj's underlying member method code with example usage: obj.visit_variable(param) without return types