@Namespace(value="nvinfer1") public static enum nvinfer.SampleMode extends Enum<nvinfer.SampleMode>
and IGridSample
Enum Constant and Description |
---|
kCLAMP
Out of bounds indices are clamped to bounds.
|
kDEFAULT |
kFILL
Use fill input value when coordinates are out of bounds.
|
kREFLECT
Coordinates reflect.
|
kSTRICT_BOUNDS
Fail with error when the coordinates are out of bounds.
|
kWRAP
Coordinates wrap around periodically.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.SampleMode |
intern() |
String |
toString() |
static nvinfer.SampleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.SampleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.SampleMode kSTRICT_BOUNDS
public static final nvinfer.SampleMode kDEFAULT
public static final nvinfer.SampleMode kWRAP
public static final nvinfer.SampleMode kCLAMP
public static final nvinfer.SampleMode kFILL
public static final nvinfer.SampleMode kREFLECT
public static nvinfer.SampleMode[] values()
for (nvinfer.SampleMode c : nvinfer.SampleMode.values()) System.out.println(c);
public static nvinfer.SampleMode 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.SampleMode intern()
public String toString()
toString
in class Enum<nvinfer.SampleMode>
Copyright © 2024. All rights reserved.