@Namespace(value="nvinfer1") public static enum nvinfer.MatrixOperation extends Enum<nvinfer.MatrixOperation>
Enum Constant and Description |
---|
kNONE
Treat x as a matrix if it has two dimensions, or as a collection of
matrices if x has more than two dimensions, where the last two dimensions
are the matrix dimensions.
|
kTRANSPOSE
Like kNONE, but transpose the matrix dimensions.
|
kVECTOR
Treat x as a vector if it has one dimension, or as a collection of
vectors if x has more than one dimension.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.MatrixOperation |
intern() |
String |
toString() |
static nvinfer.MatrixOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.MatrixOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.MatrixOperation kNONE
public static final nvinfer.MatrixOperation kTRANSPOSE
public static final nvinfer.MatrixOperation kVECTOR
public static nvinfer.MatrixOperation[] values()
for (nvinfer.MatrixOperation c : nvinfer.MatrixOperation.values()) System.out.println(c);
public static nvinfer.MatrixOperation 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.MatrixOperation intern()
public String toString()
toString
in class Enum<nvinfer.MatrixOperation>
Copyright © 2024. All rights reserved.