Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvor committed Sep 21, 2023
1 parent 111bd24 commit 50558a1
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 @@ -5,7 +5,7 @@
#include "transformations/rt_info/disable_fp16_compression.hpp"

namespace {
static const std::string& get_postponed_fp16_compression_tag() {
const std::string& get_postponed_fp16_compression_tag() {
static const std::string postponed_fp16_compression_tag("postponed_fp16_compression");
return postponed_fp16_compression_tag;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/pass/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct Edge {
// convention. Most of them are the same, but there are exceptions, e.g
// Constant (OpenVINO Model name) and Const (IR name). If there will be more
// discrepancies discovered, translations needs to be added here.
static const std::unordered_map<std::string, std::string>& get_translate_type_name_translator() {
const std::unordered_map<std::string, std::string>& get_translate_type_name_translator() {
static const std::unordered_map<std::string, std::string> translate_type_name_translator = {{"Constant", "Const"},
{"PRelu", "PReLU"},
{"Relu", "ReLU"},
Expand Down

0 comments on commit 50558a1

Please sign in to comment.