File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ {{ fullname | escape | underline}}
2
+
3
+ .. currentmodule :: {{ module }}
4
+
5
+
6
+
7
+ .. autoclass :: {{ name }}
8
+
9
+ {% block methods %}
10
+
11
+ {% if methods %}
12
+ .. rubric :: {{ _('Methods') }}
13
+
14
+ .. autosummary ::
15
+ :toctree: generated
16
+ {% for item in methods if item != "__init__" %}
17
+ ~{{ name }}.{{ item }}
18
+ {%- endfor %}
19
+ {% endif %}
20
+ {% endblock %}
21
+
22
+ {% block attributes %}
23
+ {% if attributes %}
24
+ .. rubric :: {{ _('Attributes') }}
25
+
26
+ .. autosummary ::
27
+ :toctree: generated
28
+ {% for item in attributes %}
29
+ ~{{ name }}.{{ item }}
30
+ {%- endfor %}
31
+ ~{{name}}.__dlpack_device__
32
+ ~{{name}}.__dlpack__
33
+ ~{{name}}.__sycl_usm_array_interface__
34
+ {% endif %}
35
+ {% endblock %}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Implementation of :py:class:`usm_ndarray` conforms to
16
16
17
17
.. autosummary ::
18
18
:toctree: generated
19
- :template: autosummary/cython_class .rst
19
+ :template: autosummary/usm_ndarray .rst
20
20
21
21
usm_ndarray
22
22
You can’t perform that action at this time.
0 commit comments