Class ov::pass::MarkCompressedFloatConstants#
-
class MarkCompressedFloatConstants : public ov::pass::MatcherPass#
Prevents ConstantFolding for low precision Const + Convert_To_FP32 to keep original FW float Constants. Original precision should be kept as long as possible, this prevents redundant conversions and saves memory. E.g. if original FW model was already compressed no need to upcast during CF, store intermediate f32 consts and then again compress them to low precision during save_model.