T
- data type for e
output@Operator(group="linalg") public final class SelfAdjointEig<T extends TType> extends RawOp
input
such that input[..., :, :] = v[..., :, :] * diag(e[..., :])
. The eigenvalues
are sorted in non-decreasing order.
# a is a tensor. # e is a tensor of eigenvalues. # v is a tensor of eigenvectors. e, v = self_adjoint_eig(a) e = self_adjoint_eig(a, compute_v=False)
Modifier and Type | Class and Description |
---|---|
static class |
SelfAdjointEig.Inputs<T extends TType> |
static class |
SelfAdjointEig.Options
Optional attributes for
SelfAdjointEig |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
SelfAdjointEig(Operation operation) |
Modifier and Type | Method and Description |
---|---|
static SelfAdjointEig.Options |
computeV(Boolean computeV)
Sets the computeV option.
|
static <T extends TType> |
create(Scope scope,
Operand<T> input,
SelfAdjointEig.Options... options)
Factory method to create a class wrapping a new SelfAdjointEigV2 operation.
|
Output<T> |
e()
Gets e.
|
Output<T> |
v()
Gets v.
|
public static final String OP_NAME
public SelfAdjointEig(Operation operation)
@Endpoint(describeByClass=true) public static <T extends TType> SelfAdjointEig<T> create(Scope scope, Operand<T> input, SelfAdjointEig.Options... options)
T
- data type for SelfAdjointEigV2
output and operandsscope
- current scopeinput
- Tensor
input of shape [N, N]
.options
- carries optional attribute valuespublic static SelfAdjointEig.Options computeV(Boolean computeV)
computeV
- If True
then eigenvectors will be computed and returned in v
.
Otherwise, only the eigenvalues will be computed.Copyright © 2015–2022. All rights reserved.