From: Haesu Gwon Date: Sun, 3 Sep 2023 22:34:12 +0000 (+0900) Subject: [MediaVision] Remove deprecated API - InferenceTargetType (#5520) X-Git-Tag: submit/tizen/20230904.151210~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0edae0874d8f9cf49673e30255902942d036c7b2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [MediaVision] Remove deprecated API - InferenceTargetType (#5520) --- diff --git a/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs b/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs index 702132cd5..e12c60a8f 100755 --- a/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs +++ b/src/Tizen.Multimedia.Vision/MediaVision/InferenceModelConfiguration.cs @@ -360,31 +360,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 89cabc72f..29b844b61 100755 --- a/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs +++ b/src/Tizen.Multimedia.Vision/MediaVision/InferenceType.cs @@ -73,29 +73,6 @@ namespace Tizen.Multimedia.Vision Snpe } - /// - /// 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 . ///