@Namespace(value="nvinfer1") public static enum nvinfer.ResizeRoundMode extends Enum<nvinfer.ResizeRoundMode>
IResizeLayer::setNearestRounding()| Enum Constant and Description |
|---|
kCEIL
Round to ceil.
|
kFLOOR
Round to floor.
|
kHALF_DOWN
Round half down.
|
kHALF_UP
Round half up.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.ResizeRoundMode |
intern() |
String |
toString() |
static nvinfer.ResizeRoundMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ResizeRoundMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ResizeRoundMode kHALF_UP
public static final nvinfer.ResizeRoundMode kHALF_DOWN
public static final nvinfer.ResizeRoundMode kFLOOR
public static final nvinfer.ResizeRoundMode kCEIL
public static nvinfer.ResizeRoundMode[] values()
for (nvinfer.ResizeRoundMode c : nvinfer.ResizeRoundMode.values()) System.out.println(c);
public static nvinfer.ResizeRoundMode 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.ResizeRoundMode intern()
public String toString()
toString in class Enum<nvinfer.ResizeRoundMode>Copyright © 2024. All rights reserved.