From f1d1f5cccbca47262bf646f1507522d07385c532 Mon Sep 17 00:00:00 2001 From: hyunil park Date: Wed, 25 Jan 2023 10:57:05 +0900 Subject: [PATCH] [API][trainer] Change type of train_complete to int - Sub-plugin using c++ cannot access this type Signed-off-by: hyunil park --- gst/nnstreamer/include/nnstreamer_plugin_api_trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4