@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class MatrixInverse extends Pointer
[..., M, M]
whose inner-most 2 dimensions
form square matrices. The output is a tensor of the same shape as the input
containing the inverse for all input submatrices [..., :, :]
.
The op uses LU decomposition with partial pivoting to compute the inverses.
If a matrix is not invertible there is no guarantee what the op does. It
may detect the condition and raise an exception or it may simply return a
garbage result.
Arguments:
* scope: A Scope object
* input: Shape is [..., M, M]
.
Returns:
* Output
: Shape is [..., M, M]
.
\compatibility(numpy)
Equivalent to np.linalg.inv
\end_compatibilityModifier and Type | Class and Description |
---|---|
static class |
MatrixInverse.Attrs
Optional attribute setters for MatrixInverse
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MatrixInverse(Pointer p)
Pointer cast constructor.
|
MatrixInverse(Scope scope,
Input input) |
MatrixInverse(Scope scope,
Input input,
MatrixInverse.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
static MatrixInverse.Attrs |
Adjoint(boolean x) |
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
MatrixInverse |
operation(Operation setter) |
Output |
output() |
MatrixInverse |
output(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 MatrixInverse(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static MatrixInverse.Attrs Adjoint(@Cast(value="bool") boolean x)
public MatrixInverse operation(Operation setter)
public MatrixInverse output(Output setter)
Copyright © 2022. All rights reserved.