From 0edae0874d8f9cf49673e30255902942d036c7b2 Mon Sep 17 00:00:00 2001 From: Haesu Gwon Date: Mon, 4 Sep 2023 07:34:12 +0900 Subject: [PATCH] [MediaVision] Remove deprecated API - InferenceTargetType (#5520) --- .../MediaVision/InferenceModelConfiguration.cs | 25 ---------------------- .../MediaVision/InferenceType.cs | 23 -------------------- 2 files changed, 48 deletions(-) diff --git a/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs b/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs index 702132c..e12c60a 100755 --- a/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs +++ b/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs @@ -361,31 +361,6 @@ namespace Tizen.Multimedia.Vision } /// - /// Gets or sets the inference model's target. - /// - /// - /// The default target is .
- /// If target doesn't support and , - /// will be used internally, despite the user's choice. - ///
- /// is not valid. - /// 6 - [Obsolete("Deprecated since API8. Will be removed in API10. Please use Device instead.")] - public InferenceTargetType Target - { - get - { - return (InferenceTargetType)GetInt(_keyTargetType); - } - set - { - ValidationUtil.ValidateEnum(typeof(InferenceTargetType), value, nameof(Target)); - - Set(_keyTargetType, (int)value); - } - } - - /// /// Gets or sets the processor type for inference models. /// /// diff --git a/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs b/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs index 89cabc7..29b844b 100755 --- a/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs +++ b/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs @@ -74,29 +74,6 @@ namespace Tizen.Multimedia.Vision } /// - /// Specifies the type of target. It's used for running inference backend. - /// - /// 6 - [Obsolete("Deprecated since API8; Will be removed in API10. Please use InferenceTargetDevice instead.")] - public enum InferenceTargetType - { - /// - /// CPU target - /// - CPU, - - /// - /// GPU target - /// - GPU, - - /// - /// Custom target - /// - Custom - } - - /// /// Specifies the target device which is used for running . /// /// 8 -- 2.7.4