DynamicInfo

Function

Obtains batch types supported by models.

Structure Definition

struct DynamicInfo {
    DynamicType dynamicType = DYNAMIC_BATCH;
    size_t batchSize;
    ImageSize imageSize = {};
    std::vector<std::vector<uint32_t>> shape = {};
};

Parameter Description

Parameter

Description

dynamicType

Dynamic type description

batchSize

Batch size

imageSize

Image size

shape

Shape of a dynamic batch