@Namespace(value="nvinfer1") public static enum nvinfer.ResizeMode extends Enum<nvinfer.ResizeMode>
| Enum Constant and Description |
|---|
kLINEAR
Can handle linear (1D), bilinear (2D), and trilinear (3D) resizing.
|
kNEAREST
ND (0 < N <= 8) nearest neighbor resizing.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.ResizeMode |
intern() |
String |
toString() |
static nvinfer.ResizeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ResizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ResizeMode kNEAREST
public static final nvinfer.ResizeMode kLINEAR
public static nvinfer.ResizeMode[] values()
for (nvinfer.ResizeMode c : nvinfer.ResizeMode.values()) System.out.println(c);
public static nvinfer.ResizeMode 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.ResizeMode intern()
public String toString()
toString in class Enum<nvinfer.ResizeMode>Copyright © 2022. All rights reserved.