Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4771bf

Browse files
committed
Upgrade version
1 parenteb106e2 commitd4771bf

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
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.3.0
55
+++++
66

7+
*:pr:`93`: fixes evaluator type in ``compare_onnx_execution``
78
*:pr:`92`: avoids recursion errors in profiling
89
*:pr:`87`: adds command line to replace contant by ConstantOfShape
910
*:pr:`79`: first draft to export to GraphBuilder

‎_doc/index.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,7 @@ to know onnx for that. See :ref:`l-numpy-api-onnx`.
187187
Older versions
188188
++++++++++++++
189189

190+
* `0.3.0<../v0.3.0/index.html>`_
191+
* `0.2.0<../v0.2.0/index.html>`_
190192
* `0.1.3<../v0.1.3/index.html>`_
191193
* `0.1.2<../v0.1.2/index.html>`_

‎_unittests/ut_npx/test_npx.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def local1(
208208
returnx
209209

210210
deflocal2(
211-
x:TensorType[ElemType.floats,"T"]
211+
x:TensorType[ElemType.floats,"T"],
212212
)->TensorType[ElemType.floats,"T"]:
213213
returnx
214214

‎onnx_array_api/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
APIs to create ONNX Graphs.
33
"""
44

5-
__version__="0.2.0"
5+
__version__="0.3.0"
66
__author__="Xavier Dupré"

‎onnx_array_api/npx/npx_functions_test.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222

2323
@npxapi_function
2424
def_min_max(
25-
x:TensorType[ElemType.numerics,"T"]
25+
x:TensorType[ElemType.numerics,"T"],
2626
)->TupleType[TensorType[ElemType.numerics,"T"],TensorType[ElemType.numerics,"T"]]:
2727
returntuple_var(var(x,op="ReduceMin"),var(x,op="ReduceMax"))
2828

2929

3030
@npxapi_inline
3131
def_min_max_inline(
32-
x:TensorType[ElemType.numerics,"T"]
32+
x:TensorType[ElemType.numerics,"T"],
3333
)->TupleType[TensorType[ElemType.numerics,"T"],TensorType[ElemType.numerics,"T"]]:
3434
returntuple_var(var(x,op="ReduceMin"),var(x,op="ReduceMax"))
3535

3636

3737
@npxapi_function
3838
defabsolute(
39-
x:TensorType[ElemType.numerics,"T"]
39+
x:TensorType[ElemType.numerics,"T"],
4040
)->TensorType[ElemType.numerics,"T"]:
4141
"See :func:`numpy.absolute`."
4242
returnvar(x,op="Abs")
@@ -90,7 +90,7 @@ def log1p(x: TensorType[ElemType.floats, "T"]) -> TensorType[ElemType.floats, "T
9090

9191
@npxapi_function
9292
defnegative(
93-
x:TensorType[ElemType.numerics,"T"]
93+
x:TensorType[ElemType.numerics,"T"],
9494
)->TensorType[ElemType.numerics,"T"]:
9595
"See :func:`numpy.negative`."
9696
returnvar(x,op="Neg")

‎onnx_array_api/validation/tools.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
defrandomize_proto(
23-
onx:Union[ModelProto,GraphProto,FunctionProto,NodeProto,TensorProto]
23+
onx:Union[ModelProto,GraphProto,FunctionProto,NodeProto,TensorProto],
2424
)->Union[ModelProto,GraphProto,FunctionProto,NodeProto,TensorProto]:
2525
"""
2626
Randomizes float initializers or constant nodes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp