We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51cb83c commit 68f80eaCopy full SHA for 68f80ea
hls4ml/model/optimizer/passes/linear.py
@@ -40,7 +40,6 @@ def transform(self, model, node):
40
# if the activation has a quantizer (usually from a QONNX Quant node), set the previous node's output precision
41
if quantizer is not None:
42
prev_node.set_attr("quantizer", quantizer)
43
- prev_node.types['result_t'] = quantizer.hls_type
44
prev_node.get_output_variable().type.precision = quantizer.hls_type
45
model.remove_node(node)
46
return True
0 commit comments