@Namespace(value="nvinfer1") public static enum nvinfer.EngineCapability extends Enum<nvinfer.EngineCapability>
Enum Constant and Description |
---|
kDEFAULT
Deprecated.
Deprecated in TensorRT 8.0. Superseded by kSTANDARD.
|
kDLA_STANDALONE
DLA Standalone: TensorRT flow with restrictions targeting external, to TensorRT, DLA runtimes.
|
kSAFE_DLA
Deprecated.
Deprecated in TensorRT 8.0. Superseded by kDLA_STANDALONE.
|
kSAFE_GPU
Deprecated.
Deprecated in TensorRT 8.0. Superseded by kSAFETY.
|
kSAFETY
Safety: TensorRT flow with restrictions targeting the safety runtime.
|
kSTANDARD
Standard: TensorRT flow without targeting the safety runtime.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.EngineCapability |
intern() |
String |
toString() |
static nvinfer.EngineCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.EngineCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.EngineCapability kSTANDARD
public static final nvinfer.EngineCapability kDEFAULT
public static final nvinfer.EngineCapability kSAFETY
public static final nvinfer.EngineCapability kSAFE_GPU
public static final nvinfer.EngineCapability kDLA_STANDALONE
public static final nvinfer.EngineCapability kSAFE_DLA
public static nvinfer.EngineCapability[] values()
for (nvinfer.EngineCapability c : nvinfer.EngineCapability.values()) System.out.println(c);
public static nvinfer.EngineCapability 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.EngineCapability intern()
public String toString()
toString
in class Enum<nvinfer.EngineCapability>
Copyright © 2024. All rights reserved.