Skip to content

Commit 68f80ea

Browse files
committed
remove incorrect setting of result_t
1 parent 51cb83c commit 68f80ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hls4ml/model/optimizer/passes/linear.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def transform(self, model, node):
4040
# if the activation has a quantizer (usually from a QONNX Quant node), set the previous node's output precision
4141
if quantizer is not None:
4242
prev_node.set_attr("quantizer", quantizer)
43-
prev_node.types['result_t'] = quantizer.hls_type
4443
prev_node.get_output_variable().type.precision = quantizer.hls_type
4544
model.remove_node(node)
4645
return True

0 commit comments

Comments
 (0)