@Namespace(value="nvinfer1") public static enum nvinfer.ResizeSelector extends Enum<nvinfer.ResizeSelector>
IResizeLayer::setSelectorForSinglePixel()
Enum Constant and Description |
---|
kFORMULA
Use formula to map the original index.
|
kUPPER
Select the upper left pixel.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.ResizeSelector |
intern() |
String |
toString() |
static nvinfer.ResizeSelector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ResizeSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ResizeSelector kFORMULA
public static final nvinfer.ResizeSelector kUPPER
public static nvinfer.ResizeSelector[] values()
for (nvinfer.ResizeSelector c : nvinfer.ResizeSelector.values()) System.out.println(c);
public static nvinfer.ResizeSelector 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.ResizeSelector intern()
public String toString()
toString
in class Enum<nvinfer.ResizeSelector>
Copyright © 2024. All rights reserved.