@Namespace(value="nvinfer1") public static enum nvinfer.NetworkDefinitionCreationFlag extends Enum<nvinfer.NetworkDefinitionCreationFlag>
IBuilder::createNetworkV2
Enum Constant and Description |
---|
kEXPLICIT_BATCH
Mark the network to be an explicit batch network.
|
kEXPLICIT_PRECISION
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.NetworkDefinitionCreationFlag |
intern() |
String |
toString() |
static nvinfer.NetworkDefinitionCreationFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.NetworkDefinitionCreationFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.NetworkDefinitionCreationFlag kEXPLICIT_BATCH
public static final nvinfer.NetworkDefinitionCreationFlag kEXPLICIT_PRECISION
public static nvinfer.NetworkDefinitionCreationFlag[] values()
for (nvinfer.NetworkDefinitionCreationFlag c : nvinfer.NetworkDefinitionCreationFlag.values()) System.out.println(c);
public static nvinfer.NetworkDefinitionCreationFlag 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.NetworkDefinitionCreationFlag intern()
public String toString()
toString
in class Enum<nvinfer.NetworkDefinitionCreationFlag>
Copyright © 2024. All rights reserved.