@Namespace(value="nvinfer1") public static enum nvinfer.DimensionOperation extends Enum<nvinfer.DimensionOperation>
IDimensionExpr, IExprBuilder
Enum Constant and Description |
---|
kCEIL_DIV
Division rounding up
|
kEQUAL
1 if operands are equal, 0 otherwise.
|
kFLOOR_DIV
Floor division of the first element by the second.
|
kLESS
1 if first operand is less than second operand, 0 otherwise.
|
kMAX
Maximum of the two operands.
|
kMIN
Minimum of the two operands.
|
kPROD
Product of the two operands.
|
kSUB
Substract the second element from the first.
|
kSUM
Sum of the two operands.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.DimensionOperation |
intern() |
String |
toString() |
static nvinfer.DimensionOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.DimensionOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.DimensionOperation kSUM
public static final nvinfer.DimensionOperation kPROD
public static final nvinfer.DimensionOperation kMAX
public static final nvinfer.DimensionOperation kMIN
public static final nvinfer.DimensionOperation kSUB
public static final nvinfer.DimensionOperation kEQUAL
public static final nvinfer.DimensionOperation kLESS
public static final nvinfer.DimensionOperation kFLOOR_DIV
public static final nvinfer.DimensionOperation kCEIL_DIV
public static nvinfer.DimensionOperation[] values()
for (nvinfer.DimensionOperation c : nvinfer.DimensionOperation.values()) System.out.println(c);
public static nvinfer.DimensionOperation 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.DimensionOperation intern()
public String toString()
toString
in class Enum<nvinfer.DimensionOperation>
Copyright © 2024. All rights reserved.