Skip to content
Snippets Groups Projects

Real quantization cast for PTQ

Merged Noam Zerah requested to merge noamzerah/aidge_quantization:quantization_cast into dev
6 files
+ 183
12
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -55,7 +55,7 @@ std::shared_ptr<Node> IntQuantizer(std::shared_ptr<Node> oldQuantizer, DataType
/// @param targetType The target data type to which the final output should be cast after the quantization process.
/// @param name The name of the meta-operator node created.
/// @return A shared pointer to a new instance of the modified meta-operator node.
std::shared_ptr<Node> BitShiftQuantizer(std::shared_ptr<Node> oldQuantizer, DataType targetType, const std::string& name);
std::shared_ptr<Node> BitShiftQuantizer(std::shared_ptr<Node> oldQuantizer, DataType targetType,bool bitshiftRounding, const std::string& name);
/// @brief Updates the scaling factor of a PTQ meta-operator node, allowing for dynamic adjustment of the scaling parameter.
/// This function sets a new scaling factor for a specified meta-operator node, modifying the scalar applied in the [Mul] operation.
Loading