We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f66615 commit a92093cCopy full SHA for a92093c
tests/transformation/test_conv_lowering.py
@@ -43,6 +43,14 @@
43
from qonnx.transformation.infer_shapes import InferShapes
44
from qonnx.transformation.lower_convs_to_matmul import LowerConvsToMatMul
45
from qonnx.util.basic import gen_finn_dt_tensor, qonnx_make_model
46
+from qonnx.util.test import download_model
47
+
48
49
+def test_conv_lowering_quant_weights():
50
+ model_name = "FINN-CNV_W2A2"
51
+ model = download_model(model_name, return_modelwrapper=True, do_cleanup=True)
52
+ model = model.transform(LowerConvsToMatMul())
53
+ assert model.get_nodes_by_op_type("Conv") == []
54
55
56
def test_conv_lowering_convmnist():
0 commit comments