[Issue type] refactoring
Metadata just hold informations. To prevent make all get/setter method,
change class to struct same as OutputMetadata.
Change-Id: Ib9a8246d2be26d2fe0a2d33e66abf880d75f0761
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Quantization quantization;
};
Quantization quantization;
};
- * @brief Creates an InputMetadata class instance.
- *
- * @since_tizen 6.5
- */
+ * @brief Creates an InputMetadata class instance.
+ *
+ * @since_tizen 6.5
+ */
- * @brief Destroys an InputMetadata class instance including
- * its all resources.
- *
- * @since_tizen 6.5
- */
+ * @brief Destroys an InputMetadata class instance including
+ * its all resources.
+ *
+ * @since_tizen 6.5
+ */
~InputMetadata() = default;
/**
~InputMetadata() = default;
/**
- * @brief Parses an InputMetadata
- *
- * @since_tizen 6.5
- */
+ * @brief Parses an InputMetadata
+ *
+ * @since_tizen 6.5
+ */
int Parse(JsonObject *root, std::string key_name);
bool IsParsed(void)
{
int Parse(JsonObject *root, std::string key_name);
bool IsParsed(void)
{
bool parsed;
std::map<std::string, inference_tensor_shape_type_e> mSupportedShapeType;
std::map<std::string, mv_inference_data_type_e> mSupportedDataType;
bool parsed;
std::map<std::string, inference_tensor_shape_type_e> mSupportedShapeType;
std::map<std::string, mv_inference_data_type_e> mSupportedDataType;