@Namespace(value="nvinfer1") public static enum nvinfer.OptProfileSelector extends Enum<nvinfer.OptProfileSelector>
IOptimizationProfile::setDimensions(), IOptimizationProfile::setShapeValues()
Enum Constant and Description |
---|
kMAX
This is used to set or get the maximum permitted value for dynamic dimensions etc.
|
kMIN
This is used to set or get the minimum permitted value for dynamic dimensions etc.
|
kOPT
This is used to set or get the value that is used in the optimization (kernel selection).
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.OptProfileSelector |
intern() |
String |
toString() |
static nvinfer.OptProfileSelector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.OptProfileSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.OptProfileSelector kMIN
public static final nvinfer.OptProfileSelector kOPT
public static final nvinfer.OptProfileSelector kMAX
public static nvinfer.OptProfileSelector[] values()
for (nvinfer.OptProfileSelector c : nvinfer.OptProfileSelector.values()) System.out.println(c);
public static nvinfer.OptProfileSelector valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic nvinfer.OptProfileSelector intern()
public String toString()
toString
in class Enum<nvinfer.OptProfileSelector>
Copyright © 2024. All rights reserved.