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