torch.DiagonalScatterOptions
export interface DiagonalScatterOptions {
/** Offset from the main diagonal (default: 0). */
offset?: number;
/** First dimension of the 2D sub-arrays (default: 0). */
dim1?: number;
/** Second dimension of the 2D sub-arrays (default: 1). */
dim2?: number;
}offset(number)optional- – Offset from the main diagonal (default: 0).
dim1(number)optional- – First dimension of the 2D sub-arrays (default: 0).
dim2(number)optional- – Second dimension of the 2D sub-arrays (default: 1).
Options for diagonal_scatter.