Class ov::pass::KeepConstsPrecision#

class KeepConstsPrecision : public ov::pass::MatcherPass#

KeepConstsPrecision matches Dequantization subgraphs and if Input/ZeroPoints/Scale are Constants they might be marked with keep_const_precision attribute.

Dequantization subgraph may have two forms: with and without Subtract.

   Input
     │
     ▼
  Convert  ZeroPoints
      │      │
      ▼      ▼                        Input
      Subtract                          │
           │                            ▼
           │     Scale               Convert   Scale
           │      │                     │      │
           ▼      ▼                     ▼      ▼
           Multiply                     Multiply