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