@Namespace(value="nvonnxparser") public static enum nvonnxparser.ErrorCode extends Enum<nvonnxparser.ErrorCode>
Enum Constant and Description |
---|
kINTERNAL_ERROR |
kINVALID_GRAPH |
kINVALID_NODE |
kINVALID_VALUE |
kMEM_ALLOC_FAILED |
kMODEL_DESERIALIZE_FAILED |
kSUCCESS |
kUNSUPPORTED_GRAPH |
kUNSUPPORTED_NODE |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvonnxparser.ErrorCode |
intern() |
String |
toString() |
static nvonnxparser.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvonnxparser.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvonnxparser.ErrorCode kSUCCESS
public static final nvonnxparser.ErrorCode kINTERNAL_ERROR
public static final nvonnxparser.ErrorCode kMEM_ALLOC_FAILED
public static final nvonnxparser.ErrorCode kMODEL_DESERIALIZE_FAILED
public static final nvonnxparser.ErrorCode kINVALID_VALUE
public static final nvonnxparser.ErrorCode kINVALID_GRAPH
public static final nvonnxparser.ErrorCode kINVALID_NODE
public static final nvonnxparser.ErrorCode kUNSUPPORTED_GRAPH
public static final nvonnxparser.ErrorCode kUNSUPPORTED_NODE
public static nvonnxparser.ErrorCode[] values()
for (nvonnxparser.ErrorCode c : nvonnxparser.ErrorCode.values()) System.out.println(c);
public static nvonnxparser.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 nvonnxparser.ErrorCode intern()
public String toString()
toString
in class Enum<nvonnxparser.ErrorCode>
Copyright © 2024. All rights reserved.