@Namespace(value="nvinfer1") public static enum nvinfer.ErrorCode extends Enum<nvinfer.ErrorCode>
Enum Constant and Description |
---|
kFAILED_ALLOCATION
An error occurred when performing an allocation of memory on the host or the device.
|
kFAILED_COMPUTATION
An error occurred during execution that caused the data to become corrupted, but execution finished.
|
kFAILED_EXECUTION
An error occurred during execution that caused TensorRT to end prematurely, either an asynchronous error,
user cancellation, or other execution errors reported by CUDA/DLA.
|
kFAILED_INITIALIZATION
One, or more, of the components that TensorRT relies on did not initialize correctly.
|
kINTERNAL_ERROR
A non-recoverable TensorRT error occurred.
|
kINVALID_ARGUMENT
An argument passed to the function is invalid in isolation.
|
kINVALID_CONFIG
An error occurred when comparing the state of an argument relative to other arguments.
|
kINVALID_STATE
TensorRT was put into a bad state by incorrect sequence of function calls.
|
kSUCCESS
Execution completed successfully.
|
kUNSPECIFIED_ERROR
An error that does not fall into any other category.
|
kUNSUPPORTED_STATE
An error occurred due to the network not being supported on the device due to constraints of the hardware or
system.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.ErrorCode |
intern() |
String |
toString() |
static nvinfer.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ErrorCode kSUCCESS
public static final nvinfer.ErrorCode kUNSPECIFIED_ERROR
public static final nvinfer.ErrorCode kINTERNAL_ERROR
public static final nvinfer.ErrorCode kINVALID_ARGUMENT
public static final nvinfer.ErrorCode kINVALID_CONFIG
public static final nvinfer.ErrorCode kFAILED_ALLOCATION
public static final nvinfer.ErrorCode kFAILED_INITIALIZATION
public static final nvinfer.ErrorCode kFAILED_EXECUTION
public static final nvinfer.ErrorCode kFAILED_COMPUTATION
public static final nvinfer.ErrorCode kINVALID_STATE
public static final nvinfer.ErrorCode kUNSUPPORTED_STATE
public static nvinfer.ErrorCode[] values()
for (nvinfer.ErrorCode c : nvinfer.ErrorCode.values()) System.out.println(c);
public static nvinfer.ErrorCode 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.ErrorCode intern()
public String toString()
toString
in class Enum<nvinfer.ErrorCode>
Copyright © 2024. All rights reserved.