@Namespace(value="nvinfer1") public static enum nvinfer.ElementWiseOperation extends Enum<nvinfer.ElementWiseOperation>
IElementWiseLayer
Enum Constant and Description |
---|
kAND
Logical AND of two elements.
|
kDIV
Divide the first element by the second.
|
kEQUAL
Check if two elements are equal.
|
kFLOOR_DIV
Floor division of the first element by the second.
|
kGREATER
Check if element in first tensor is greater than corresponding element in second tensor.
|
kLESS
Check if element in first tensor is less than corresponding element in second tensor.
|
kMAX
Maximum of the two elements.
|
kMIN
Minimum of the two elements.
|
kOR
Logical OR of two elements.
|
kPOW
The first element to the power of the second element.
|
kPROD
Product of the two elements.
|
kSUB
Subtract the second element from the first.
|
kSUM
Sum of the two elements.
|
kXOR
Logical XOR of two elements.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.ElementWiseOperation |
intern() |
String |
toString() |
static nvinfer.ElementWiseOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ElementWiseOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ElementWiseOperation kSUM
public static final nvinfer.ElementWiseOperation kPROD
public static final nvinfer.ElementWiseOperation kMAX
public static final nvinfer.ElementWiseOperation kMIN
public static final nvinfer.ElementWiseOperation kSUB
public static final nvinfer.ElementWiseOperation kDIV
public static final nvinfer.ElementWiseOperation kPOW
public static final nvinfer.ElementWiseOperation kFLOOR_DIV
public static final nvinfer.ElementWiseOperation kAND
public static final nvinfer.ElementWiseOperation kOR
public static final nvinfer.ElementWiseOperation kXOR
public static final nvinfer.ElementWiseOperation kEQUAL
public static final nvinfer.ElementWiseOperation kGREATER
public static final nvinfer.ElementWiseOperation kLESS
public static nvinfer.ElementWiseOperation[] values()
for (nvinfer.ElementWiseOperation c : nvinfer.ElementWiseOperation.values()) System.out.println(c);
public static nvinfer.ElementWiseOperation 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.ElementWiseOperation intern()
public String toString()
toString
in class Enum<nvinfer.ElementWiseOperation>
Copyright © 2024. All rights reserved.