T
- data type for sign
output@Operator(group="linalg") public final class LogMatrixDeterminant<T extends TType> extends RawOp
The input is a tensor of shape [N, M, M]
whose inner-most 2 dimensions
form square matrices. The outputs are two tensors containing the signs and
absolute values of the log determinants for all N input submatrices
[..., :, :]
such that determinant = sign*exp(log_abs_determinant)
.
The log_abs_determinant
is computed as det(P)*sum(log(diag(LU)))
where LU
is the LU
decomposition of the input and P
is the corresponding
permutation matrix.
Modifier and Type | Class and Description |
---|---|
static class |
LogMatrixDeterminant.Inputs<T extends TType> |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
LogMatrixDeterminant(Operation operation) |
Modifier and Type | Method and Description |
---|---|
static <T extends TType> |
create(Scope scope,
Operand<T> input)
Factory method to create a class wrapping a new LogMatrixDeterminant operation.
|
Output<T> |
logAbsDeterminant()
Gets logAbsDeterminant.
|
Output<T> |
sign()
Gets sign.
|
public static final String OP_NAME
public LogMatrixDeterminant(Operation operation)
@Endpoint(describeByClass=true) public static <T extends TType> LogMatrixDeterminant<T> create(Scope scope, Operand<T> input)
T
- data type for LogMatrixDeterminant
output and operandsscope
- current scopeinput
- Shape is [N, M, M]
.public Output<T> sign()
[N]
.Copyright © 2015–2022. All rights reserved.