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

Commit97ac155

Browse files
committed
fix missing import
1 parentccf07e7 commit97ac155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎_unittests/ut_light_api/test_backend_export.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
make_opsetid,
1818
make_tensor_value_info,
1919
)
20+
fromonnx.reference.op_runimportto_array_extended
2021
fromonnx.numpy_helperimportfrom_array,to_array
2122
fromonnx.backend.baseimportDevice,DeviceType
2223
fromonnx_array_api.referenceimportExtendedReferenceEvaluator
24+
fromonnx_array_api.light_api.make_helperimportmake_node_extended
2325
fromonnx_array_api.light_apiimporttranslate
2426
fromonnx_array_api.plotting.text_plotimportonnx_simple_text_plot
2527

@@ -85,13 +87,15 @@ def run(
8587
locs= {
8688
"np":numpy,
8789
"to_array":to_array,
90+
"to_array_extended":to_array_extended,
8891
"from_array":from_array,
8992
"TensorProto":TensorProto,
9093
"make_function":make_function,
9194
"make_opsetid":make_opsetid,
9295
"make_model":make_model,
9396
"make_graph":make_graph,
9497
"make_node":make_node,
98+
"make_node_extended":make_node_extended,
9599
"make_tensor_value_info":make_tensor_value_info,
96100
}
97101
globs=locs.copy()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp