@Namespace(value="nvinfer1") public static enum nvinfer.FillOperation extends Enum<nvinfer.FillOperation>
IFillLayer
Enum Constant and Description |
---|
kLINSPACE
Generate evenly spaced numbers over a specified interval.
|
kRANDOM_NORMAL
Generate a tensor with random values drawn from a normal distribution.
|
kRANDOM_UNIFORM
Generate a tensor with random values drawn from a uniform distribution.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.FillOperation |
intern() |
String |
toString() |
static nvinfer.FillOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.FillOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.FillOperation kLINSPACE
public static final nvinfer.FillOperation kRANDOM_UNIFORM
public static final nvinfer.FillOperation kRANDOM_NORMAL
public static nvinfer.FillOperation[] values()
for (nvinfer.FillOperation c : nvinfer.FillOperation.values()) System.out.println(c);
public static nvinfer.FillOperation 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.FillOperation intern()
public String toString()
toString
in class Enum<nvinfer.FillOperation>
Copyright © 2024. All rights reserved.