Skip to content

Commit 97ac155

Browse files
committed
fix missing import
1 parent ccf07e7 commit 97ac155

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+
from onnx.reference.op_run import to_array_extended
2021
from onnx.numpy_helper import from_array, to_array
2122
from onnx.backend.base import Device, DeviceType
2223
from onnx_array_api.reference import ExtendedReferenceEvaluator
24+
from onnx_array_api.light_api.make_helper import make_node_extended
2325
from onnx_array_api.light_api import translate
2426
from onnx_array_api.plotting.text_plot import onnx_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)