|
NVIDIA NvNeural SDK
2021.1
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
The EnumParamTypeDesc 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 | optionCount |
| This is the amount of enum options contained in the memory block. | |
| const char *const * | pOptions |
| This is the array of the enums with optionCount members. More... | |
The EnumParamTypeDesc further describes a parameter for the plugin and is pointed to from the higher level parameter descriptor ParamDesc.
In this case, it describes an enumeration, using a count of enumerations and a char* array.
An example would be wanting an enumeration with "min" and "max". In this case, optionCount would be set to 2, and pOptions would point to a char array containing the strings of, "min" and "max". e.g.
const size_t enumNumOptions = 2; static const char* const enumOptions[enumNumOptions] = { "min", "max" };
| const char* const* nvneural::EnumParamTypeDesc::pOptions |
This is the array of the enums with optionCount members.
These members should be treated as UTF-8.
Example: "sum", "min", "max"