From 5eb1d475297366bb8160b63253de2b2dbd55ecae Mon Sep 17 00:00:00 2001 From: hyunil park Date: Thu, 18 Aug 2022 11:24:36 +0900 Subject: [PATCH] [MachineLearning.Train] Add exception to doxygen - Add NotSupported, Argument and InvalidOperation Exception to all class doxygen - Add UnauthorizedAccess Exception to Model and Dataset class doxygen Signed-off-by: hyunil park --- .../Tizen.MachineLearning.Train/Dataset.cs | 4 ++++ src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Layer.cs | 3 +++ src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs | 4 ++++ .../Tizen.MachineLearning.Train/Optimizer.cs | 3 +++ 4 files changed, 14 insertions(+) diff --git a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Dataset.cs b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Dataset.cs index 25747ad..3a4c919 100644 --- a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Dataset.cs +++ b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Dataset.cs @@ -26,6 +26,10 @@ namespace Tizen.MachineLearning.Train /// Use this class to create a dataset. dataset should be released using Dispose(). /// dataset is available until the model is released. /// + /// Thrown when the feature is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the application does not have the required privilege. + /// Thrown when the method failed due to the wrong pipeline description or internal error. /// 10 public class Dataset: IDisposable { diff --git a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Layer.cs b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Layer.cs index a34c17f..9b04058 100644 --- a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Layer.cs +++ b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Layer.cs @@ -28,6 +28,9 @@ namespace Tizen.MachineLearning.Train /// If added to a model by AddLayer method of Model, layer is available until the model is released. so /// Dispose() must never be used. /// + /// Thrown when the feature is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to the wrong pipeline description or internal error. /// 10 public class Layer: IDisposable { diff --git a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs index cfb1106..9e6d54b 100644 --- a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs +++ b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs @@ -32,6 +32,10 @@ namespace Tizen.MachineLearning.Train /// privilege %http://tizen.org/privilege/externalstorage. If you want to access /// both storage, you must add all the privileges. /// + /// Thrown when the feature is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the application does not have the required privilege. + /// Thrown when the method failed due to the wrong pipeline description or internal error. /// 10 public class Model: IDisposable { diff --git a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Optimizer.cs b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Optimizer.cs index abc2a14..90dd049 100644 --- a/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Optimizer.cs +++ b/src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Optimizer.cs @@ -27,6 +27,9 @@ namespace Tizen.MachineLearning.Train /// model, optimizer should be released using Dispose(). /// If set to a model, optimizer is available until model is released. /// + /// Thrown when the feature is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to the wrong pipeline description or internal error. /// 10 public class Optimizer: IDisposable { -- 2.7.4