For the complete documentation index, see llms.txt. This page is also available as Markdown.

LinAlg

Cholesky

INDArray Cholesky(INDArray input)

SDVariable Cholesky(SDVariable input)
SDVariable Cholesky(String name, SDVariable input)

Computes the Cholesky decomposition of one or more square matrices.

  • input (NUMERIC) - Input tensor with inner-most 2 dimensions forming square matrices

Lstsq

INDArray Lstsq(INDArray matrix, INDArray rhs, double l2_reguralizer, boolean fast)
INDArray Lstsq(INDArray matrix, INDArray rhs, double l2_reguralizer)

SDVariable Lstsq(SDVariable matrix, SDVariable rhs, double l2_reguralizer, boolean fast)
SDVariable Lstsq(SDVariable matrix, SDVariable rhs, double l2_reguralizer)
SDVariable Lstsq(String name, SDVariable matrix, SDVariable rhs, double l2_reguralizer, boolean fast)
SDVariable Lstsq(String name, SDVariable matrix, SDVariable rhs, double l2_reguralizer)

Solver for linear squares problems.

  • matrix (NUMERIC) - input tensor

  • rhs (NUMERIC) - input tensor

  • l2_reguralizer - regularizer

  • fast - fast mode, defaults to True - default = true

Lu

Computes LU decomposition.

  • input (NUMERIC) - input tensor

Matmul

Performs matrix mutiplication on input tensors.

  • a (NUMERIC) - input tensor

  • b (NUMERIC) - input tensor

MatrixBandPart

Copy a tensor setting outside a central band in each innermost matrix.

  • input (NUMERIC) - input tensor

  • minLower - lower diagonal count

  • maxUpper - upper diagonal count

Qr

Computes the QR decompositions of input matrix.

  • input (NUMERIC) - input tensor

  • full - full matrices mode - default = false

Solve

Solver for systems of linear equations.

  • matrix (NUMERIC) - input tensor

  • rhs (NUMERIC) - input tensor

  • adjoint - adjoint mode, defaults to False - default = false

TriangularSolve

Solver for systems of linear questions.

  • matrix (NUMERIC) - input tensor

  • rhs (NUMERIC) - input tensor

  • lower - defines whether innermost matrices in matrix are lower or upper triangular

  • adjoint - adjoint mode

cross

Computes pairwise cross product.

  • a (NUMERIC) -

  • b (NUMERIC) -

diag

Calculates diagonal tensor.

  • input (NUMERIC) -

diag_part

Calculates diagonal tensor.

  • input (NUMERIC) -

logdet

Calculates log of determinant.

  • input (NUMERIC) -

mmul

Matrix multiplication: out = mmul(x,y)

Supports specifying transpose argument to perform operation such as mmul(a^T, b), etc.

  • x (NUMERIC) - First input variable

  • y (NUMERIC) - Second input variable

  • transposeX - Transpose x (first argument) - default = false

  • transposeY - Transpose y (second argument) - default = false

  • transposeZ - Transpose result array - default = false

svd

Calculates singular value decomposition.

  • input (NUMERIC) -

  • fullUV -

  • computeUV -

  • switchNum - - default = 16

tri

An array with ones at and below the given diagonal and zeros elsewhere.

  • dataType - Data type - default = DataType.FLOAT

  • row -

  • column -

  • diagonal - - default = 0

triu

Upper triangle of an array. Return a copy of a input tensor with the elements below the k-th diagonal zeroed.

  • input (NUMERIC) -

  • diag - - default = 0

Was this helpful?