@Namespace(value="nvinfer1") public static enum nvinfer.ScaleMode extends Enum<nvinfer.ScaleMode>
IScaleLayer
Enum Constant and Description |
---|
kCHANNEL
Per-channel coefficients.
|
kELEMENTWISE
Elementwise coefficients.
|
kUNIFORM
Identical coefficients across all elements of the tensor.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.ScaleMode |
intern() |
String |
toString() |
static nvinfer.ScaleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.ScaleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.ScaleMode kUNIFORM
public static final nvinfer.ScaleMode kCHANNEL
public static final nvinfer.ScaleMode kELEMENTWISE
public static nvinfer.ScaleMode[] values()
for (nvinfer.ScaleMode c : nvinfer.ScaleMode.values()) System.out.println(c);
public static nvinfer.ScaleMode 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.ScaleMode intern()
public String toString()
toString
in class Enum<nvinfer.ScaleMode>
Copyright © 2024. All rights reserved.