ModelDesc
Function
This API defines the model description information.
Structure Definition
struct ModelDesc {
std::vector<TensorDesc> inputTensors;
std::vector<TensorDesc> outputTensors;
std::vector<size_t> batchSizes;
bool dynamicBatch;
};
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
inputTensors |
Output |
Input tensor description |
outputTensors |
Output |
Output tensor description |
batchSizes |
Output |
Batch size |
dynamicBatch |
Output |
Whether it is a dynamic batch |
Parent topic: Data Structure