# MatrixSetDiagV3.Options

public static class **MatrixSetDiagV3.Options** Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/MatrixSetDiagV3`

### Public Methods

|---|---|
| [MatrixSetDiagV3.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/MatrixSetDiagV3.Options) | [align](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/MatrixSetDiagV3.Options#align(java.lang.String))(String align) |

### Inherited Methods

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public [MatrixSetDiagV3.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/MatrixSetDiagV3.Options)
**align**
(String align)

<br />

##### Parameters

| align | Some diagonals are shorter than \`max_diag_len\` and need to be padded. \`align\` is 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. |
|---|---|