Skip to content
Snippets Groups Projects
Commit fe1b11fa authored by Maxence Naud's avatar Maxence Naud
Browse files

[Upd] python Add operators in test

parent e88b574d
No related branches found
No related tags found
2 merge requests!46Remove Operator reference to Tensor,!20Draft: Introduction of Tiling
...@@ -34,9 +34,9 @@ class test_recipies(unittest.TestCase): ...@@ -34,9 +34,9 @@ class test_recipies(unittest.TestCase):
def test_fuse_matmul_add(self): def test_fuse_matmul_add(self):
matmul0 = aidge_core.GenericOperator("MatMul", 1, 2, 1, name="MatMul0") matmul0 = aidge_core.GenericOperator("MatMul", 1, 2, 1, name="MatMul0")
add0 = aidge_core.Add(name="Add0") add0 = aidge_core.Add(2, name="Add0")
matmul1 = aidge_core.GenericOperator("MatMul", 1, 2, 1, name="MatMul1") matmul1 = aidge_core.GenericOperator("MatMul", 1, 2, 1, name="MatMul1")
add1 = aidge_core.Add(name="Add1") add1 = aidge_core.Add(2, name="Add1")
graph_view = aidge_core.sequential([matmul0, add0, matmul1, add1]) graph_view = aidge_core.sequential([matmul0, add0, matmul1, add1])
......
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