Skip to content

Commit 23825de

Browse files
committed
fix error message
1 parent c37d953 commit 23825de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hls4ml/model/optimizer/passes/batchnorm_opt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def transform(self, model, node):
2424
"""
2525

2626
if not (len(node.inputs) == 5 and all(node.inputs)):
27-
raise ValueError(f'All {len.node.inputs} BatchNormOnnnx inputs need to be defined')
27+
raise ValueError('All 5 BatchNormOnnnx inputs need to be defined')
2828

2929
attributes = {k: node.attributes.get(k, None) for k in _base_attributes}
3030

0 commit comments

Comments
 (0)