Skip to content

Commit 10e7744

Browse files
committed
Fix Dot config template
1 parent e9051c0 commit 10e7744

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hls4ml/backends/quartus/passes/merge_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(self):
6868
def format(self, node):
6969
inp1 = node.get_input_variable(node.inputs[0])
7070
inp2 = node.get_input_variable(node.inputs[1])
71-
params = node._default_config_params()
71+
params = self._default_config_params(node)
7272
params['n_out'] = 1
7373
params['n_in'] = inp1.shape[0]
7474
params['product_type'] = get_backend('quartus').product_type(inp1.type.precision, inp2.type.precision)

hls4ml/backends/vivado/passes/merge_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(self):
6565
def format(self, node):
6666
inp1 = node.get_input_variable(node.inputs[0])
6767
inp2 = node.get_input_variable(node.inputs[1])
68-
params = node._default_config_params()
68+
params = self._default_config_params(node)
6969
params['n_out'] = 1
7070
params['n_in'] = inp1.shape[0]
7171
params['product_type'] = get_backend('vivado').product_type(inp1.type.precision, inp2.type.precision)

0 commit comments

Comments
 (0)