From: hyunil park Date: Wed, 25 Jan 2023 01:57:05 +0000 (+0900) Subject: [API][trainer] Change type of train_complete to int X-Git-Tag: accepted/tizen/unified/20230131.162133~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1d1f5cccbca47262bf646f1507522d07385c532;p=platform%2Fupstream%2Fnnstreamer.git [API][trainer] Change type of train_complete to int - Sub-plugin using c++ cannot access this type Signed-off-by: hyunil park --- diff --git a/gst/nnstreamer/include/nnstreamer_plugin_api_trainer.h b/gst/nnstreamer/include/nnstreamer_plugin_api_trainer.h index 5cbab18..d3fee87 100644 --- a/gst/nnstreamer/include/nnstreamer_plugin_api_trainer.h +++ b/gst/nnstreamer/include/nnstreamer_plugin_api_trainer.h @@ -50,7 +50,7 @@ typedef struct _GstTensorTrainerProperties typedef struct _GstTensorTrainerFrameworkInfo { const char *name; /**< Name of the neural network framework, searchable by FRAMEWORK property. */ - gboolean train_complete; /**< Check if train is complete */ + int train_complete; /**< Check if train is complete, Use int instead of gboolean because this is refered by custom plugins. */ int64_t epoch_cnt; /**< Number of currently completed epochs */ } GstTensorTrainerFrameworkInfo;