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