Skip to content

Implements ArrayAPI #17

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 27 commits into from
Jun 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
documentation
  • Loading branch information
xadupre committed Jun 5, 2023
commit f0d4ebac7c4dbf4b434d618c7893d709e3ff252b
3 changes: 2 additions & 1 deletion CHANGELOGS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ Change Logs
0.2.0
+++++

* :pr:`3`: fixes Array API with onnxruntime
* :pr:`17`: implements ArrayAPI
* :pr:`3`: fixes Array API with onnxruntime and scikit-learn
5 changes: 5 additions & 0 deletions _doc/api/array_api_numpy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
onnx_array_api.array_api_onnx_numpy.onnx_numpy_array_api
========================================================

.. autoclass:: onnx_array_api.array_api_onnx_numpy.onnx_numpy_array_api
:members:
5 changes: 5 additions & 0 deletions _doc/api/array_api_ort.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
onnx_array_api.array_api_onnx_ort.onnx_ort_array_api
====================================================

.. autoclass:: onnx_array_api.array_api_onnx_ort.onnx_ort_array_api
:members:
2 changes: 2 additions & 0 deletions _doc/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ API
.. toctree::
:maxdepth: 1

array_api_numpy
array_api_ort
npx_functions
npx_var
npx_jit
Expand Down
1 change: 0 additions & 1 deletion onnx_array_api/array_api_onnx_ort.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ def _setup():


_setup()

1 change: 1 addition & 0 deletions onnx_array_api/ort/ort_tensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ class EagerOrtTensor(OrtTensor, OrtCommon, EagerTensor):
"""
Defines a value for :epkg:`onnxruntime` as a backend.
"""

def __array_namespace__(self, api_version: Optional[str] = None):
"""
Returns the module holding all the available functions.
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy