2 * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 namespace Tizen.Multimedia.Vision
22 /// Specifies the type of inference backend.
24 /// <since_tizen> 6 </since_tizen>
25 public enum InferenceBackendType
28 /// OpenCV backend type
33 /// Tensor Flow Lite backend type
38 /// ArmNN backend type
40 [Obsolete("Deprecated since API11. Will be removed in API13.")]
44 /// ML Single API of NNStreamer backend type
47 /// Should be set <see cref="InferenceTargetDevice"/> to <see cref="InferenceTargetDevice.Custom"/>.
49 /// <since_tizen> 8 </since_tizen>
50 [Obsolete("Deprecated since API11. Will be removed in API13.")]
54 /// On-device Neural Engine backend type
57 /// Should be set <see cref="InferenceTargetDevice"/> to <see cref="InferenceTargetDevice.CPU"/> or
58 /// <see cref="InferenceTargetDevice.GPU"/>.
60 /// <since_tizen> 8 </since_tizen>
64 /// NNTrainer backend type
66 /// <since_tizen> 11 </since_tizen>
70 /// SNPE(Snapdragon Neural Processing Engine) backend type
72 /// <since_tizen> 11 </since_tizen>
77 /// Specifies the type of target. It's used for running inference backend.
79 /// <since_tizen> 6 </since_tizen>
80 [Obsolete("Deprecated since API8; Will be removed in API10. Please use InferenceTargetDevice instead.")]
81 public enum InferenceTargetType
100 /// Specifies the target device which is used for running <see cref="InferenceModelConfiguration.Backend"/>.
102 /// <since_tizen> 8 </since_tizen>
103 public enum InferenceTargetDevice
122 /// Specifies the data type.
124 /// <since_tizen> 8 </since_tizen>
125 public enum InferenceDataType
133 /// Unsigned Integer 8 bit