@Namespace(value="nvinfer1") public static enum nvinfer.ReduceOperation extends Enum<nvinfer.ReduceOperation>
| Enum Constant and Description |
|---|
kAVG
Average of the elements.
|
kMAX
Maximum of the elements.
|
kMIN
Minimum of the elements.
|
kNONE
No reduction.
|
kPROD
Product of the elements.
|
kSUM
Sum of the elements.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.ReduceOperation |
intern() |
String |
toString() |
static nvinfer.ReduceOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ReduceOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ReduceOperation kSUM
public static final nvinfer.ReduceOperation kPROD
public static final nvinfer.ReduceOperation kMAX
public static final nvinfer.ReduceOperation kMIN
public static final nvinfer.ReduceOperation kAVG
public static final nvinfer.ReduceOperation kNONE
public static nvinfer.ReduceOperation[] values()
for (nvinfer.ReduceOperation c : nvinfer.ReduceOperation.values()) System.out.println(c);
public static nvinfer.ReduceOperation 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.ReduceOperation intern()
public String toString()
toString in class Enum<nvinfer.ReduceOperation>Copyright © 2026. All rights reserved.