An op which supports basic einsum op with 2 inputs and 1 output.
This op has better TPU performance since it doesn't have explicitly reshape and transpose operations as tf.einsum does.
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
Output<T> |
asOutput()
Returns the symbolic handle of the tensor.
|
static <T extends TType> Einsum<T> | |
Output<T> |
product()
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Public Methods
public Output<T> asOutput ()
Returns the symbolic handle of the tensor.
Inputs 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.
public static Einsum<T> create (Scope scope, Operand<T> a, Operand<T> b, String equation)
Factory method to create a class wrapping a new Einsum operation.
Parameters
scope | current scope |
---|
Returns
- a new instance of Einsum