Skip to content
Snippets Groups Projects
Commit 7ce8bc77 authored by auphelia's avatar auphelia
Browse files

[Test] Add test cases for decoupled mode

parent e405aa1b
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import pytest
import csv
import numpy as np
from onnx import TensorProto, helper
......@@ -208,6 +209,7 @@ def test_fpgadataflow_fclayer_npysim(mem_mode, idt, wdt, act, nf, sf, mw, mh):
y_expected = y.reshape(oshape)
# execute model
y_produced = oxe.execute_onnx(model, input_dict)["outp"]
y_produced =y_produced.reshape(y_expected.shape)
assert (y_produced == y_expected).all(), "npysim failed"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment