Skip to content

Commit

Permalink
Move the reference of ElementwiseKernel and ReductionKernel to cupy-r…
Browse files Browse the repository at this point in the history
…eference/kernel.rst
  • Loading branch information
delta2323 committed May 22, 2017
1 parent 8e75035 commit ac9d385
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
10 changes: 10 additions & 0 deletions docs/source/cupy-reference/kernel.rst
@@ -0,0 +1,10 @@
Reference
---------

.. module:: cupy

.. autoclass:: cupy.ElementwiseKernel
:members:

.. autoclass:: cupy.ReductionKernel
:members:
14 changes: 1 addition & 13 deletions docs/source/tutorial/kernel.rst
Expand Up @@ -165,16 +165,4 @@ For example, L2 norm along specified axes can be written as follows:

.. note::
``raw`` specifier is restricted for usages that the axes to be reduced are put at the head of the shape.
It means, if you want to use ``raw`` specifier for at least one argument, the ``axis`` argument must be ``0`` or a contiguous increasing sequence of integers starting from ``0``, like ``(0, 1)``, ``(0, 1, 2)``, etc.


Reference
---------

.. module:: cupy

.. autoclass:: cupy.ElementwiseKernel
:members:

.. autoclass:: cupy.ReductionKernel
:members:
It means, if you want to use ``raw`` specifier for at least one argument, the ``axis`` argument must be ``0`` or a contiguous increasing sequence of integers starting from ``0``, like ``(0, 1)``, ``(0, 1, 2)``, etc.

0 comments on commit ac9d385

Please sign in to comment.