reset to OPENVINO_DEPRECATED

This commit is contained in:
panhaiqi
2023-07-04 14:52:41 +08:00
parent b21478c96d
commit f8b2793abc

View File

@@ -33,13 +33,8 @@
# define INFERENCE_ENGINE_C_API_EXTERN
#endif
#define IE_1_0_DEPRECATED \
OPENVINO_DEPRECATED("The Inference Engine API is deprecated and will be removed in the 2024.0 release. " \
"For instructions on transitioning to the new API, please refer to " \
"https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html")
#if defined(OPENVINO_STATIC_LIBRARY) || defined(__GNUC__) && (__GNUC__ < 4)
# define INFERENCE_ENGINE_C_API(...) INFERENCE_ENGINE_C_API_EXTERN __VA_ARGS__ IE_1_0_DEPRECATED
# define INFERENCE_ENGINE_C_API(...) INFERENCE_ENGINE_C_API_EXTERN __VA_ARGS__ OPENVINO_DEPRECATED("The Inference Engine API is deprecated.")
# define IE_NODISCARD
#else
# if defined(_WIN32) || defined(__CYGWIN__)
@@ -48,7 +43,7 @@
# define INFERENCE_ENGINE_C_API(...) INFERENCE_ENGINE_C_API_EXTERN __declspec(dllexport) __VA_ARGS__ __cdecl
# else
# define INFERENCE_ENGINE_C_API(...) \
INFERENCE_ENGINE_C_API_EXTERN __declspec(dllimport) IE_1_0_DEPRECATED __cdecl
INFERENCE_ENGINE_C_API_EXTERN __declspec(dllimport) OPENVINO_DEPRECATED("The Inference Engine API is deprecated.") __cdecl
# endif
# define IE_NODISCARD
# else
@@ -75,17 +70,17 @@
OPENVINO_SUPPRESS_DEPRECATED_START
typedef struct ie_core ie_core_t;
typedef struct ie_network ie_network_t;
typedef struct ie_executable ie_executable_network_t;
typedef struct ie_infer_request ie_infer_request_t;
typedef struct ie_blob ie_blob_t;
typedef struct ie_network ie_network_t;
typedef struct ie_executable ie_executable_network_t;
typedef struct ie_infer_request ie_infer_request_t;
typedef struct ie_blob ie_blob_t;
/**
* @struct ie_version
* @brief Represents an API version information that reflects the set of supported features
*/
typedef struct ie_version {
char* api_version; //!< A string representing Inference Engine version
/**
* @struct ie_version
* @brief Represents an API version information that reflects the set of supported features
*/
typedef struct ie_version {
char* api_version; //!< A string representing Inference Engine version
} ie_version_t;
/**