Skip to content

Commit ae3dc90

Browse files
authored
First sketch of a very simple API to create simple graphs (#42)
* First sketch of a very simple API to create simple graphs * doc * f401 * add python-re2 * add re2 * update * doc * array * almost done * doc * add many ops * doc * doc
1 parent 05078ca commit ae3dc90

18 files changed

+2047
-11
lines changed

CHANGELOGS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change Logs
44
0.2.0
55
+++++
66

7+
* :pr:`42`: first sketch for a very simple API to create onnx graph in one or two lines
78
* :pr:`27`: add function from_array_extended to convert
89
an array to a TensorProto, including bfloat16 and float 8 types
910
* :pr:`24`: add ExtendedReferenceEvaluator to support scenario

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,4 @@ It supports eager mode as well:
114114
The library is released on
115115
`pypi/onnx-array-api <https://pypi.org/project/onnx-array-api/>`_
116116
and its documentation is published at
117-
`(Numpy) Array API for ONNX
118-
<https://sdpython.github.io/doc/onnx-array-api/dev/>`_.
117+
`(Numpy) Array API for ONNX <https://sdpython.github.io/doc/onnx-array-api/dev/>`_.

_doc/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ API
77
:maxdepth: 1
88

99
array_api
10+
light_api
1011
npx_core_api
1112
npx_functions
1213
npx_jit_eager

_doc/api/light_api.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
========================
2+
onnx_array_api.light_api
3+
========================
4+
5+
start
6+
=====
7+
8+
.. autofunction:: onnx_array_api.light_api.start
9+
10+
OnnxGraph
11+
=========
12+
13+
.. autoclass:: onnx_array_api.light_api.OnnxGraph
14+
:members:
15+
16+
BaseVar
17+
=======
18+
19+
.. autoclass:: onnx_array_api.light_api.var.BaseVar
20+
:members:
21+
22+
Var
23+
===
24+
25+
.. autoclass:: onnx_array_api.light_api.Var
26+
:members:
27+
28+
Vars
29+
====
30+
31+
.. autoclass:: onnx_array_api.light_api.Vars
32+
:members:

0 commit comments

Comments
 (0)