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