Skip to content

Commit

Permalink
[LPT] infrastructure quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eshoguli committed Sep 28, 2023
1 parent 5df64df commit d103894
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class PrecisionsRestriction {
}

template <typename T>
static PrecisionsByPorts getPrecisionsByOperationType(std::vector<PrecisionsRestriction>& restrictions) {
static PrecisionsByPorts getPrecisionsByOperationType(const std::vector<PrecisionsRestriction>& restrictions) {
for (const auto& restriction : restrictions) {
if (restriction.operationType == T::get_type_info_static()) {
return restriction.precisionsByPorts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class ov::pass::low_precision::MarkupOptimizations : public ov::pass::ModelPass
const AttributeParameters& params);
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
private:
const std::vector<PrecisionsRestriction>& precisionRestrictions;
const std::vector<QuantizationGranularityRestriction>& quantizationRestrictions;
const AttributeParameters& params;
const std::vector<PrecisionsRestriction> precisionRestrictions;
const std::vector<QuantizationGranularityRestriction> quantizationRestrictions;
const AttributeParameters params;
};

class ov::pass::low_precision::TypeRelaxedReplacer : public ov::pass::GraphRewrite {
Expand Down

0 comments on commit d103894

Please sign in to comment.