@Namespace(value="nvinfer1") public static enum nvinfer.WeightsRole extends Enum<nvinfer.WeightsRole>
| Enum Constant and Description |
|---|
kANY
Any other weights role
|
kBIAS
bias for IConvolutionLayer, IDeconvolutionLayer, or IFullyConnectedLayer
|
kCONSTANT
weights for IConstantLayer
|
kKERNEL
kernel for IConvolutionLayer, IDeconvolutionLayer, or IFullyConnectedLayer
|
kSCALE
scale part of IScaleLayer
|
kSHIFT
shift part of IScaleLayer
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.WeightsRole |
intern() |
String |
toString() |
static nvinfer.WeightsRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.WeightsRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.WeightsRole kKERNEL
public static final nvinfer.WeightsRole kBIAS
public static final nvinfer.WeightsRole kSHIFT
public static final nvinfer.WeightsRole kSCALE
public static final nvinfer.WeightsRole kCONSTANT
public static final nvinfer.WeightsRole kANY
public static nvinfer.WeightsRole[] values()
for (nvinfer.WeightsRole c : nvinfer.WeightsRole.values()) System.out.println(c);
public static nvinfer.WeightsRole 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.WeightsRole intern()
public String toString()
toString in class Enum<nvinfer.WeightsRole>Copyright © 2024. All rights reserved.