Adding Scaling Nodes (Tagged Mul) below Producers / Removing Unitary MetaOp
Compare changes
Files
10@@ -29,14 +29,6 @@ namespace Aidge {
This merge request introduces significant improvements to the PTQ pipeline, focusing on better handling of Producer nodes (constant value nodes) for weight and bias quantization. These changes aim to improve the pipeline's transparency and modularity while maintaining equivalent results. Additionally, it introduces the use of dynamicAttribute
as a tag to identify PTQ-related nodes.
PTQMetaOps.*
files to the operator
folder for better structure.std::cout
(now deprecated in Aidge core) and replaced them with Log::debug()
for improved logging practices.AIDGE_ASSERT
statements to enhance code safety and ensure robust error checking.insertRoundBelowProducer
function to easily insert a node in the graphrescaleTensor()
and roundTensor()
rescaleTensor()
) has been replaced with the insertion of dedicated Scaling nodes.Mul
operations with the tag isProducerScaling
and apply the scaling factor during graph execution.roundTensor()
) is now handled by inserting Round nodes directly below Producer nodes.For more information see issue:Issue #42
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent