aclmdlGetInputDimsRange
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the dimension range of an input tensor based on the model description.
Prototype
1 | aclError aclmdlGetInputDimsRange(const aclmdlDesc *modelDesc, size_t index, aclmdlIODimsRange *dimsRange) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
modelDesc |
Input |
Pointer to data of the aclmdlDesc type. Call aclmdlCreateDesc to create data of the aclmdlDesc type in advance. |
index |
Input |
Index of the input dimension information to be obtained, indexed from 0. |
dimsRange |
Output |
Pointer to the input dimension information. For details about the type definition, see aclmdlIODimsRange.
|
Returns
0 on success; else, failure. For details, see aclError.