shape means positive value.
change int to uint(size_t)
Change-Id: I94fb4892b8de90ac64e7e19dc46ac494cfe100f2
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
* @since_tizen 6.0
*/
typedef struct _inference_engine_tensor_info {
- std::vector<int> shape; /**< a tensor shape. */
+ std::vector<size_t> shape; /**< a tensor shape. */
inference_tensor_shape_type_e shape_type; /**< a tensor shape of the layer. */
inference_tensor_data_type_e data_type; /**< a tensor type of the layer. */
size_t size; /** tensor element size. The size should be height * width * channel count */
int iteration;
int tensor_type;
std::vector<std::string> image_paths;
- int height;
- int width;
- int ch;
+ size_t height;
+ size_t width;
+ size_t ch;
std::vector<std::string> input_layers;
std::vector<std::string> output_layers;
std::vector<std::string> model_paths;
int iteration;
int tensor_type;
std::vector<std::string> image_paths;
- int height;
- int width;
- int ch;
+ size_t height;
+ size_t width;
+ size_t ch;
std::vector<std::string> input_layers;
std::vector<std::string> output_layers;
std::vector<std::string> model_paths;