From e70a3f2c1c81f43b29bd23658b76f9b7de90f04c Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 13 Nov 2023 15:12:07 +0400 Subject: [PATCH] Fixed link stage on Windows --- .../user_ie_extensions/tokenizer/bpe_tokenizer.hpp | 2 +- .../user_ie_extensions/tokenizer/bytes_to_chars.hpp | 2 +- .../user_ie_extensions/tokenizer/case_fold.hpp | 2 +- .../user_ie_extensions/tokenizer/chars_to_bytes.hpp | 2 +- .../user_ie_extensions/tokenizer/combine_segments.hpp | 2 +- .../user_ie_extensions/tokenizer/normalize_unicode.hpp | 2 +- .../user_ie_extensions/tokenizer/ragged_to_dense.hpp | 2 +- .../user_ie_extensions/tokenizer/regex_normalization.hpp | 2 +- .../user_ie_extensions/tokenizer/regex_split.hpp | 2 +- .../user_ie_extensions/tokenizer/vocab_decoder.hpp | 2 +- .../user_ie_extensions/tokenizer/wordpiece_tokenizer.hpp | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/bpe_tokenizer.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/bpe_tokenizer.hpp index 99073b1b2..97fb2db03 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/bpe_tokenizer.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/bpe_tokenizer.hpp @@ -13,7 +13,7 @@ using namespace paddlenlp::fast_tokenizer; #undef tokenizer #undef m_tokenizer -class OPENVINO_API BPETokenizer : public ov::op::Op { +class BPETokenizer : public ov::op::Op { public: OPENVINO_OP("BPETokenizer"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/bytes_to_chars.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/bytes_to_chars.hpp index d064467a0..77b30b0c1 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/bytes_to_chars.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/bytes_to_chars.hpp @@ -9,7 +9,7 @@ const std::array, 256> create_bytes_to_chars_map(); -class OPENVINO_API BytesToChars : public ov::op::Op { +class BytesToChars : public ov::op::Op { public: OPENVINO_OP("BytesToChars"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/case_fold.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/case_fold.hpp index 3f6e86e65..6c273ad82 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/case_fold.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/case_fold.hpp @@ -6,7 +6,7 @@ #include -class OPENVINO_API CaseFold : public ov::op::Op { +class CaseFold : public ov::op::Op { public: OPENVINO_OP("CaseFold"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/chars_to_bytes.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/chars_to_bytes.hpp index 25dd91dc3..4a79a72b3 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/chars_to_bytes.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/chars_to_bytes.hpp @@ -6,7 +6,7 @@ #include -class OPENVINO_API CharsToBytes : public ov::op::Op { +class CharsToBytes : public ov::op::Op { public: OPENVINO_OP("CharsToBytes"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/combine_segments.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/combine_segments.hpp index 9399f959a..a4d904a55 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/combine_segments.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/combine_segments.hpp @@ -6,7 +6,7 @@ #include -class OPENVINO_API CombineSegments : public ov::op::Op { +class CombineSegments : public ov::op::Op { public: OPENVINO_OP("CombineSegments"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/normalize_unicode.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/normalize_unicode.hpp index 0d2e27d89..cacdec18c 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/normalize_unicode.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/normalize_unicode.hpp @@ -6,7 +6,7 @@ #include -class OPENVINO_API NormalizeUnicode : public ov::op::Op { +class NormalizeUnicode : public ov::op::Op { public: OPENVINO_OP("NormalizeUnicode"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/ragged_to_dense.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/ragged_to_dense.hpp index 698b16157..2d543fdb2 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/ragged_to_dense.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/ragged_to_dense.hpp @@ -7,7 +7,7 @@ #include // Takes a ragged tensor with one ragged right-most dimension and produces a normal tensor -class OPENVINO_API RaggedToDense : public ov::op::Op { +class RaggedToDense : public ov::op::Op { public: OPENVINO_OP("RaggedToDense"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/regex_normalization.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/regex_normalization.hpp index a3ec22397..2f3924ec7 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/regex_normalization.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/regex_normalization.hpp @@ -13,7 +13,7 @@ using namespace ov; using namespace ov::opset10; -class OPENVINO_API RegexNormalization : public ov::op::Op { +class RegexNormalization : public ov::op::Op { public: OPENVINO_OP("RegexNormalization"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/regex_split.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/regex_split.hpp index e2729cce0..a1f001f64 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/regex_split.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/regex_split.hpp @@ -12,7 +12,7 @@ using namespace ov; using namespace paddlenlp::fast_tokenizer; -class OPENVINO_API RegexSplit : public ov::op::Op { +class RegexSplit : public ov::op::Op { public: OPENVINO_OP("RegexSplit"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/vocab_decoder.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/vocab_decoder.hpp index 1479dcb5a..14d91032c 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/vocab_decoder.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/vocab_decoder.hpp @@ -6,7 +6,7 @@ #include -class OPENVINO_API VocabDecoder : public ov::op::Op { +class VocabDecoder : public ov::op::Op { public: OPENVINO_OP("VocabDecoder"); diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/wordpiece_tokenizer.hpp b/modules/custom_operations/user_ie_extensions/tokenizer/wordpiece_tokenizer.hpp index cbfe664a8..c6e785e55 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/wordpiece_tokenizer.hpp +++ b/modules/custom_operations/user_ie_extensions/tokenizer/wordpiece_tokenizer.hpp @@ -11,7 +11,7 @@ using namespace paddlenlp::fast_tokenizer; #undef tokenizer -class OPENVINO_API WordpieceTokenizer : public ov::op::Op { +class WordpieceTokenizer : public ov::op::Op { public: OPENVINO_OP("WordpieceTokenizer");