8000 improve documentation (#50) · sdpython/onnx-array-api@885dd6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 885dd6a

Browse files
authored
improve documentation (#50)
1 parent 95a012f commit 885dd6a

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ It supports eager mode as well:
113113
l2_loss=[0.002]
114114
[0.042]
115115

116-
The second API ir **Light API** tends to do every thing in one line.
116+
The second API or **Light API** tends to do every thing in one line.
117117
The euclidean distance looks like the following:
118118

119119
::

_doc/api/light_api.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,20 @@ Translater
8484
.. autoclass:: onnx_array_api.light_api.translate.Translater
8585
:members:
8686

87+
Available operators
88+
===================
89+
90+
One input
91+
+++++++++
92+
93+
.. autoclass:: onnx_array_api.light_api._op_var.OpsVar
94+
:members:
95+
96+
Two inputs or more
97+
++++++++++++++++++
98+
99+
.. autoclass:: onnx_array_api.light_api._op_vars.OpsVars
100+
:members:
101+
102+
103+

_doc/tech/aapi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Python is not strongly typed and many different types can be used
88
to represent a value. Argument *axis* can be an integer or a tuple
99
(see `min from Array API
1010
<https://data-apis.org/array-api/2022.12/API_specification/
11-
generated/array_api.min.html>`
11+
generated/array_api.min.html>`_
1212
for example). On the other side, `ReduceMin from ONNX
1313
<https://onnx.ai/onnx/operators/onnx__ReduceMin.html>`_
1414
is considered as a tensor.

0 commit comments

Comments
 (0)
0