diff --git a/docs/source/cupy-reference/kernel.rst b/docs/source/cupy-reference/kernel.rst new file mode 100644 index 00000000000..e10fb4a6853 --- /dev/null +++ b/docs/source/cupy-reference/kernel.rst @@ -0,0 +1,10 @@ +Reference +--------- + +.. module:: cupy + +.. autoclass:: cupy.ElementwiseKernel + :members: + +.. autoclass:: cupy.ReductionKernel + :members: \ No newline at end of file diff --git a/docs/source/tutorial/kernel.rst b/docs/source/tutorial/kernel.rst index ef445ef3f7e..08da399be30 100644 --- a/docs/source/tutorial/kernel.rst +++ b/docs/source/tutorial/kernel.rst @@ -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. \ No newline at end of file