T - data type for output() outputpublic final class TridiagonalMatMul<T> extends PrimitiveOp implements Operand<T>
Calculates product of two matrices, where left matrix is a tridiagonal matrix.
operation| Modifier and Type | Method and Description |
|---|---|
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> TridiagonalMatMul<T> |
create(Scope scope,
Operand<T> superdiag,
Operand<T> maindiag,
Operand<T> subdiag,
Operand<T> rhs)
Factory method to create a class wrapping a new TridiagonalMatMul operation.
|
Output<T> |
output()
Tensor of shape `[..., M, N]` containing the product.
|
equals, hashCode, op, toStringpublic static <T> TridiagonalMatMul<T> create(Scope scope, Operand<T> superdiag, Operand<T> maindiag, Operand<T> subdiag, Operand<T> rhs)
scope - current scopesuperdiag - Tensor of shape `[..., 1, M]`, representing superdiagonals of
tri-diagonal matrices to the left of multiplication. Last element is ingored.maindiag - Tensor of shape `[..., 1, M]`, representing main diagonals of tri-diagonal
matrices to the left of multiplication.subdiag - Tensor of shape `[..., 1, M]`, representing subdiagonals of tri-diagonal
matrices to the left of multiplication. First element is ingored.rhs - Tensor of shape `[..., M, N]`, representing MxN matrices to the right of
multiplication.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.