-
I am trying to do Hardware aware training. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @bus6479, many thanks for the question. It is advised to not directly access the "out_scaling_alpha" value, but instead use the method Besides this, there is also a weight remapping that multiplies the overall scales and re-sets the weights according to the weight remapping scales. This will re-set the output scales to 1 as the overall scale is applied to the mapping scales. To see how the |
Beta Was this translation helpful? Give feedback.
Hi @bus6479, many thanks for the question.
It is advised to not directly access the "out_scaling_alpha" value, but instead use the method
analog_tile.get_scales()
to get the scales. This is because there are multiple scales, such as the mapping scaling, that is used for the re-mapping processes. If you use theget_scales
method, the overall scale is computed.Besides this, there is also a weight remapping that multiplies the overall scales and re-sets the weights according to the weight remapping scales. This will re-set the output scales to 1 as the overall scale is applied to the mapping scales. To see how the
out_scaling_alpha
is changed, you need to turnoff the weight remapping, or wa…