*/
typedef struct _inference_engine_tensor_info {
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 */
- float scale; /**< a scale value of the layer. */
- int zero_point; /**< a zero point value of the layer. */
- inference_tensor_quantization_type_e quantization_type; /**< a quantization type of the layer. */
+ inference_tensor_shape_type_e shape_type { INFERENCE_TENSOR_SHAPE_NCHW }; /**< a tensor shape of the layer. */
+ inference_tensor_data_type_e data_type { INFERENCE_TENSOR_DATA_TYPE_NONE }; /**< a tensor type of the layer. */
+ size_t size {}; /** tensor element size. The size should be height * width * channel count */
+ float scale {}; /**< a scale value of the layer. */
+ int zero_point {}; /**< a zero point value of the layer. */
+ inference_tensor_quantization_type_e quantization_type { INFERENCE_TENSOR_QUANTIZATION_NONE }; /**< a quantization type of the layer. */
// TODO.
} inference_engine_tensor_info;