Skip to content

Commit 5fb1d3a

Browse files
committed
prevent pointwise override for DA strategy
1 parent bd778c6 commit 5fb1d3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hls4ml/backends/vivado/passes/pointwise.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def register_pointwise(backend):
6565

6666
class OptimizePointwiseConv(OptimizerPass):
6767
def match(self, node):
68+
if node.get_attr('strategy') == 'distributed_arithmetic':
69+
return False
6870
return (
6971
node.class_name in ('Conv1D', 'Conv2D')
7072
and node.get_attr('filt_height', 1) == 1

0 commit comments

Comments
 (0)