Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvor committed Sep 21, 2023
1 parent 28f8a22 commit 4313fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TokenizeSnippets: public ov::pass::MatcherPass {

static bool AppropriateForSubgraph(const std::shared_ptr<const Node>&);

static const std::set<ov::element::Type> get_supported_element_types();
static const std::set<ov::element::Type>& get_supported_element_types();
};

} // namespace pass
Expand Down
2 changes: 1 addition & 1 deletion src/common/snippets/src/pass/collapse_subgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ auto get_num_result_children(const std::shared_ptr<const Node> &node) -> size_t
}
} // namespace

const std::set<ov::element::Type> ov::snippets::pass::TokenizeSnippets::get_supported_element_types() {
const std::set<ov::element::Type>& ov::snippets::pass::TokenizeSnippets::get_supported_element_types() {
static const std::set<ov::element::Type> supported_element_types =
{ ov::element::f32, ov::element::bf16, ov::element::i8, ov::element::u8 };
return supported_element_types;
Expand Down

0 comments on commit 4313fb2

Please sign in to comment.