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