Skip to content

Commit

Permalink
Refactoring + comments #2
Browse files Browse the repository at this point in the history
  • Loading branch information
eshoguli committed Mar 12, 2023
1 parent 84be41c commit 259baeb
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/common/snippets/tests/include/pass/precision_propagation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ class PrecisionPropagationParamsValues {
public:
class Actual {
public:
Actual() = default;

Actual(const std::pair<element::Type, element::Type>& convertion_before_op1,
const element::Type convertion_before_op2_1,
const std::pair<element::Type, element::Type>& convertion_before_op2_2,
const std::set<std::vector<element::Type>>& op1_supported_precisions,
const std::set<std::vector<element::Type>>& op2_supported_precisions)
: convertion_before_op1(convertion_before_op1),
convertion_before_op2_1(convertion_before_op2_1),
convertion_before_op2_2(convertion_before_op2_2),
op1_supported_precisions(op1_supported_precisions),
op2_supported_precisions(op2_supported_precisions) {}

std::pair<element::Type, element::Type> convertion_before_op1;
element::Type convertion_before_op2_1;
std::pair<element::Type, element::Type> convertion_before_op2_2;
Expand All @@ -37,32 +24,12 @@ class PrecisionPropagationParamsValues {

class Expected {
public:
Expected() = default;

Expected(
const std::pair<element::Type, element::Type>& convertion_before_op1,
const element::Type convertion_before_op2_1,
const std::pair<element::Type, element::Type>& convertion_before_op2_2,
const element::Type convertion_after_op2)
: convertion_before_op1(convertion_before_op1),
convertion_before_op2_1(convertion_before_op2_1),
convertion_before_op2_2(convertion_before_op2_2),
convertion_after_op2(convertion_after_op2) {}

std::pair<element::Type, element::Type> convertion_before_op1;
element::Type convertion_before_op2_1;
std::pair<element::Type, element::Type> convertion_before_op2_2;
element::Type convertion_after_op2;
};

PrecisionPropagationParamsValues() = default;
PrecisionPropagationParamsValues(const std::vector<element::Type>& input_types,
const Actual& actual,
const Expected& expected)
: input_types(input_types),
actual(actual),
expected(expected) {}

std::vector<element::Type> input_types;
Actual actual;
Expected expected;
Expand Down

0 comments on commit 259baeb

Please sign in to comment.