Skip to content

First sketch of a very simple API to create simple graphs #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOGS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Change Logs
0.2.0
+++++

* :pr:`42`: first sketch for a very simple API to create onnx graph in one or two lines
* :pr:`27`: add function from_array_extended to convert
an array to a TensorProto, including bfloat16 and float 8 types
* :pr:`24`: add ExtendedReferenceEvaluator to support scenario
Expand Down
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,4 @@ It supports eager mode as well:
The library is released on
`pypi/onnx-array-api <https://pypi.org/project/onnx-array-api/>`_
and its documentation is published at
`(Numpy) Array API for ONNX
<https://sdpython.github.io/doc/onnx-array-api/dev/>`_.
`(Numpy) Array API for ONNX <https://sdpython.github.io/doc/onnx-array-api/dev/>`_.
1 change: 1 addition & 0 deletions _doc/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ API
:maxdepth: 1

array_api
light_api
npx_core_api
npx_functions
npx_jit_eager
Expand Down
32 changes: 32 additions & 0 deletions _doc/api/light_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
========================
onnx_array_api.light_api
========================

start
=====

.. autofunction:: onnx_array_api.light_api.start

OnnxGraph
=========

.. autoclass:: onnx_array_api.light_api.OnnxGraph
:members:

BaseVar
=======

.. autoclass:: onnx_array_api.light_api.var.BaseVar
:members:

Var
===

.. autoclass:: onnx_array_api.light_api.Var
:members:

Vars
====

.. autoclass:: onnx_array_api.light_api.Vars
:members:
Loading