Skip to content

Commit c6f4ab9

Browse files
committed
fix fft2D
Signed-off-by: xavier dupré <[email protected]>
1 parent 3324fec commit c6f4ab9

File tree

4 files changed

+569
-181
lines changed

4 files changed

+569
-181
lines changed

tests/backend_test_base.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ def run_onnxruntime(self, model_path, inputs, output_names, use_custom_ops=False
9292
import onnx
9393
with open(model_path, "rb") as f:
9494
onx = onnx.load(f)
95-
print(onx)
96-
from mlprodict.onnxrt import OnnxInference
97-
oinf = OnnxInference(model_path)
98-
oinf.run(inputs, verbose=1, fLOG=print)
95+
# with open("debug_%d.onnx" % id(model_path), "wb") as f:
96+
# f.write(onx.SerializeToString())
97+
# from mlprodict.onnxrt import OnnxInference
98+
# oinf = OnnxInference(model_path)
99+
# oinf.run(inputs, verbose=1, fLOG=print)
99100

100101
m = rt.InferenceSession(model_path, opt, providers=providers)
101102
results = m.run(output_names, inputs)

tests/test_backend.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5592,7 +5592,8 @@ def func(x):
55925592

55935593

55945594
if __name__ == '__main__':
5595-
cl = BackendTests()
5596-
cl.setUp()
5597-
cl.test_rfft2d_ops_specific_dimension()
5595+
# cl = BackendTests()
5596+
# cl.setUp()
5597+
# cl.test_rfft2d_ops_specific_dimension()
5598+
# stop
55985599
unittest_main()

0 commit comments

Comments
 (0)