Skip to content

Commit

Permalink
Merge pull request #1047 from not522/backends
Browse files Browse the repository at this point in the history
Update documentation for `chainer.backends.cuda`
  • Loading branch information
kmaehashi committed Mar 22, 2018
1 parent 58fe039 commit 05a7519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/tutorial/basic.rst
Expand Up @@ -166,10 +166,10 @@ We can also use :meth:`cupy.ndarray.get()`:

.. note::

If you work with Chainer, you can also use :func:`~chainer.cuda.to_cpu` and
:func:`~chainer.cuda.to_gpu` to move arrays back and forth between
If you work with Chainer, you can also use :func:`~chainer.backends.cuda.to_cpu` and
:func:`~chainer.backends.cuda.to_gpu` to move arrays back and forth between
a device and a host, or between different devices.
Note that :func:`~chainer.cuda.to_gpu` has ``device`` option to specify
Note that :func:`~chainer.backends.cuda.to_gpu` has ``device`` option to specify
the device which arrays are transferred.

How to write CPU/GPU agnostic code
Expand Down

0 comments on commit 05a7519

Please sign in to comment.