@Namespace(value="nvinfer1") public static enum nvinfer.LayerInformationFormat extends Enum<nvinfer.LayerInformationFormat>
IEngineInspector::getLayerInformation(), IEngineInspector::getEngineInformation()
Enum Constant and Description |
---|
kJSON
Print layer information in JSON format.
|
kONELINE
Print layer information in one line per layer.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.LayerInformationFormat |
intern() |
String |
toString() |
static nvinfer.LayerInformationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.LayerInformationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.LayerInformationFormat kONELINE
public static final nvinfer.LayerInformationFormat kJSON
public static nvinfer.LayerInformationFormat[] values()
for (nvinfer.LayerInformationFormat c : nvinfer.LayerInformationFormat.values()) System.out.println(c);
public static nvinfer.LayerInformationFormat 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.LayerInformationFormat intern()
public String toString()
toString
in class Enum<nvinfer.LayerInformationFormat>
Copyright © 2024. All rights reserved.