Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 818 Bytes

backend_and_device.rst

File metadata and controls

33 lines (24 loc) · 818 Bytes

Backend and Device

.. module:: chainerx

ChainerX adds a level of abstraction between the higher level array operations and the lower level computations and resource management. This abstraction is managed by the :class:`~chainerx.Backend` and the :class:`~chainerx.Device` classes. Native (CPU) and CUDA backends are two concrete implementations currently provided by ChainerX but the abstraction allows you to plug any backend into the framework.

Backend

.. autosummary::
   :toctree: generated/
   :nosignatures:

   chainerx.Backend
   chainerx.get_backend

Device

.. autosummary::
   :toctree: generated/
   :nosignatures:

   chainerx.Device
   chainerx.get_device
   chainerx.get_default_device
   chainerx.set_default_device
   chainerx.using_device