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