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