View source on GitHub |
Computes the lower-upper decomposition of a square matrix.
tf.keras.ops.lu_factor(
x
)
Args | |
---|---|
x
|
A tensor of shape (..., M, M) .
|
Returns | |
---|---|
A tuple of two tensors: a tensor of shape (..., M, M) containing the
lower and upper triangular matrices and a tensor of shape (..., M)
containing the pivots.
|