Skip to main content

GetDynamicImageSizes

GetOutputDataType​

函数功能​

用于获得输出数据的类型。

函数原型​

std::vector<TensorDataType> GetOutputDataType() const;

返回参数说明​

数据结构说明
std::vector具体请参考TensorDataType。

父主题: ModelInferenceProcessor

GetInputFormat​

函数功能​

用于获得输入数据的格式。

函数原型​

std::vector<size_t> GetinputFormat() const;

父主题: ModelInferenceProcessor

GetOutputFormat​

函数功能​

用于获得输出数据的格式。

函数原型​

std::vector<size_t> GetOutputFormat() const;

父主题: ModelInferenceProcessor

GetDynamicImageSizes​

函数功能​

获取动态分辨率。

函数原型​

const std::vector<ImageSize>& GetDynamicImageSizes() const;

返回参数说明​

数据结构说明
ImageSize具体请参考ImageSize。

父主题: ModelInferenceProcessor

GetInputShape​

函数功能​

获得输入张量的形状。

函数原型​

std::vector<std::vector<int64_t>> GetInputShape() const;

父主题: ModelInferenceProcessor

GetOutputShape​

函数功能​

获得输出张量的形状。

函数原型​

std::vector<std::vector<int64_t>> GetOutputShape() const;

父主题: ModelInferenceProcessor

GetDynamicBatch​

函数功能​

获取动态Batch。

函数原型​

std::vector<int64_t> GetDynamicBatch() const;

父主题: ModelInferenceProcessor

在线提单