@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SelfAdjointEig extends Pointer
input
such that input[..., :, :] = v[..., :, :] * diag(e[..., :])
. The eigenvalues
are sorted in non-decreasing order.
python
# 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)
Arguments:
* scope: A Scope object
* input: Tensor
input of shape [N, N]
.
Optional attributes (see Attrs
):
* compute_v: If True
then eigenvectors will be computed and returned in v
.
Otherwise, only the eigenvalues will be computed.
Returns:
* Output
e: Eigenvalues. Shape is [N]
.
* Output
v: Eigenvectors. Shape is [N, N]
.Modifier and Type | Class and Description |
---|---|
static class |
SelfAdjointEig.Attrs
Optional attribute setters for SelfAdjointEig
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SelfAdjointEig(Pointer p)
Pointer cast constructor.
|
SelfAdjointEig(Scope scope,
Input input) |
SelfAdjointEig(Scope scope,
Input input,
SelfAdjointEig.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
static SelfAdjointEig.Attrs |
ComputeV(boolean x) |
Output |
e() |
SelfAdjointEig |
e(Output setter) |
Operation |
operation() |
SelfAdjointEig |
operation(Operation setter) |
Output |
v() |
SelfAdjointEig |
v(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public SelfAdjointEig(Pointer p)
Pointer(Pointer)
.@ByVal public static SelfAdjointEig.Attrs ComputeV(@Cast(value="bool") boolean x)
public SelfAdjointEig operation(Operation setter)
public SelfAdjointEig e(Output setter)
public SelfAdjointEig v(Output setter)
Copyright © 2022. All rights reserved.