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

Commit9f7714d

Browse files
authored
upgrade version (#105)
* fix documentation and upgrade version* doc
1 parent5a5921b commit9f7714d

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

‎CHANGELOGS.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change Logs
22
===========
33

4+
0.3.4
5+
+++++
6+
47
0.3.3
58
+++++
69

‎_doc/examples/plot_benchmark_rf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def measure_inference(fct, X, repeat, max_time=5, quantile=1):
126126
# model for a random forest and onnxruntime after it was converted
127127
# into ONNX and for the following configurations.
128128

129-
small=cpu_count()<12
129+
small=cpu_count()<25
130130
ifsmall:
131131
N=1000
132132
n_features=10

‎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.3.3"
5+
__version__="0.3.4"
66
__author__="Xavier Dupré"

‎onnx_array_api/array_api/_onnx_common.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
fromtypingimportAny,Optional
22
importnumpyasnp
33
fromonnximportTensorProto
4-
importarray_api_strict
4+
5+
try:
6+
importarray_api_strict
7+
exceptImportError:
8+
array_api_strict=None
59

610
from ..npx.npx_typesimport (
711
DType,
@@ -27,7 +31,7 @@
2731
)
2832

2933

30-
Array=type(array_api_strict.ones((1,)))
34+
Array=type(array_api_strict.ones((1,)))ifarray_api_strictelseNone
3135

3236

3337
# These functions with no specific code do not have to be

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp