File tree Expand file tree Collapse file tree
src/finn/transformation/streamline Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def apply(self, model: ModelWrapper):
112112 # convenient attribute manipulation
113113 threshold_op = getCustomOp (node )
114114 # Shift the output bias of the thresholding operator
115- out_bias = threshold_op .get_node_attr ("out_bias" ) + bias
115+ out_bias = threshold_op .get_nodeattr ("out_bias" ) + bias
116116 # Derive the new output range due to shifting the bias
117117 # Note: We count thresholds steps on top of the bias
118118 new_min = out_bias
@@ -137,7 +137,7 @@ def apply(self, model: ModelWrapper):
137137 continue
138138
139139 # Remember the old datatype for some further checks and info
140- old_odt = threshold_op .get_node_attr ("out_dtype" )
140+ old_odt = threshold_op .get_nodeattr ("out_dtype" )
141141
142142 # Check whether the datatype changes as this is something
143143 # the "user" should be aware of
You can’t perform that action at this time.
0 commit comments