T - data type for output() output@Operator public final class MatrixSolve<T> extends PrimitiveOp implements Operand<T>
`Matrix` is a tensor of shape `[..., M, M]` whose inner-most 2 dimensions form square matrices. `Rhs` is a tensor of shape `[..., M, K]`. The `output` is a tensor shape `[..., M, K]`. If `adjoint` is `False` then each output matrix satisfies `matrix[..., :, :] * output[..., :, :] = rhs[..., :, :]`. If `adjoint` is `True` then each output matrix satisfies `adjoint(matrix[..., :, :]) * output[..., :, :] = rhs[..., :, :]`.
| Modifier and Type | Class and Description |
|---|---|
static class |
MatrixSolve.Options
Optional attributes for
MatrixSolve |
operation| Modifier and Type | Method and Description |
|---|---|
static MatrixSolve.Options |
adjoint(Boolean adjoint) |
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> MatrixSolve<T> |
create(Scope scope,
Operand<T> matrix,
Operand<T> rhs,
MatrixSolve.Options... options)
Factory method to create a class to wrap a new MatrixSolve operation to the graph.
|
Output<T> |
output()
Shape is `[..., M, K]`.
|
equals, hashCode, toStringpublic static <T> MatrixSolve<T> create(Scope scope, Operand<T> matrix, Operand<T> rhs, MatrixSolve.Options... options)
scope - current graph scopematrix - Shape is `[..., M, M]`.rhs - Shape is `[..., M, K]`.options - carries optional attributes valuespublic static MatrixSolve.Options adjoint(Boolean adjoint)
adjoint - Boolean indicating whether to solve with `matrix` or its (block-wise)
adjoint.public Output<T> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<T>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.