Class MatrixSetDiag.Inputs<T extends TType>
- Enclosing class:
MatrixSetDiag<T extends TType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RawOpInputs
attributeMetadata, attributeNames, attributes, attributeValue, attributeValues, equals, getOutputs, hashCode, toStringModifier and TypeMethodDescriptionattributeMetadata(String name) Get the metadata for an attributeGet the names of this op's attributesGet an inspector for the operation's attributes.attributeValue(String name) Get the value of an attribute as anAttrValueproto.Get all attribute value protosfinal booleanThe outputs of this operation.final inthashCode()final StringtoString()
-
Field Details
-
input
-
diagonal
-
k
Diagonal offset(s). Positive value means superdiagonal, 0 refers to the main diagonal, and negative value means subdiagonals.kcan be a single integer (for a single diagonal) or a pair of integers specifying the low and high ends of a matrix band.k[0]must not be larger thank[1]. -
T
The T attribute -
align
Some diagonals are shorter thanmax_diag_lenand need to be padded.alignis a string specifying how superdiagonals and subdiagonals should be aligned, respectively. There are four possible alignments: "RIGHT_LEFT" (default), "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals to the right (left-pads the row) and subdiagonals to the left (right-pads the row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is the opposite alignment.
-
-
Constructor Details
-
Inputs
-