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