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

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 ~chainerx.Backend and the ~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

chainerx.Backend chainerx.get_backend

Device

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