|
NVIDIA NvNeural SDK
2022.1
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
The DimensionParamTypeDesc further describes a parameter for the plugin and is pointed to from the higher level parameter descriptor ParamDesc. More...
#include <nvneural/CoreTypes.h>
Public Attributes | |
| BaseParamTypeDesc | baseDesc |
| This is the base param desc struct which all xParamTypeDesc must have. | |
| std::size_t | maxDimensions |
| This is the maximum amount of dimensions that are valid. | |
| std::size_t | minDimensions |
| This is the minimum amount of dimensions that are needed. | |
The DimensionParamTypeDesc further describes a parameter for the plugin and is pointed to from the higher level parameter descriptor ParamDesc.
In this case, it describes a dimension, using a max and min dimension.
An example would be needing height and width, in HxW format. In this case, the maxDimensions and the minDimensions would be set to 2.
Another example, would be needing height and width, but optionally channel. This could be in the format CxHxW or HxW. In this case, the maxDimensions would be set to 3 and the minDimensions would be set to 2.