Skip to content

Commit

Permalink
LayerTransformation: make fileds constant
Browse files Browse the repository at this point in the history
  • Loading branch information
v-Golubev committed Jan 17, 2025
1 parent ebb2b13 commit 036fc0e
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ class LP_TRANSFORMATIONS_API LayerTransformation : public ov::pass::MatcherPass
virtual ~LayerTransformation() = default;
virtual bool transform(ov::pass::pattern::Matcher &m) = 0;

void setUpdatePrecisions(const bool updatePrecisions);

void setDefaultPrecisions(const std::vector<ov::element::Type>& defaultPrecisions);

virtual bool canBeTransformed(const std::shared_ptr<Node>& layer) const;
static bool canBeTransformedStatic(const std::shared_ptr<Node>& layer,
const std::vector<ov::element::Type>& defaultPrecisions = precision_set::get_int8_support());
Expand Down Expand Up @@ -338,11 +334,11 @@ class LP_TRANSFORMATIONS_API LayerTransformation : public ov::pass::MatcherPass
const std::vector<float>& dequantizationShifts);
#endif

bool updatePrecisions;
element::Type deqPrecision;
std::vector<ov::element::Type> defaultPrecisions;
bool reshapeIgnorePerTensorQuantizationCheck;
bool scalingMode;
const bool updatePrecisions;
const element::Type deqPrecision;
const std::vector<ov::element::Type> defaultPrecisions;
const bool reshapeIgnorePerTensorQuantizationCheck;
const bool scalingMode;

static constexpr char originalLayerPostfix[] = "_original";

Expand Down

0 comments on commit 036fc0e

Please sign in to comment.