[MachineLearning.Train] Modify remarks of AddLayer method
authorHyunil <hyunil46.park@samsung.com>
Wed, 13 Jul 2022 23:56:58 +0000 (08:56 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 23 Aug 2022 05:50:26 +0000 (14:50 +0900)
- Add comment about Dispose()

Signed-off-by: Hyunil <hyunil46.park@samsung.com>
src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs

index 1d2df85..a437730 100644 (file)
@@ -243,7 +243,8 @@ namespace Tizen.MachineLearning.Train
         /// Use this function to add a layer to the model. The layer is added to
         /// the end of the existing layers in the model. This transfers the
         /// ownership of the layer to the network. No need to destroy the layer once it
-        /// is added to a model.
+        /// is added to a model. layer is available until the model is released. so
+        /// Dispose() must never be used.
         /// </remarks>
         /// <param name="layer"> The instance of Layer class </param>
         /// <since_tizen> 10 </since_tizen>