- TrainSum.einsum_expression(eq, *ops, result_shape=None)
Create an einsum expression to be used with tensor trains. The expression is optimized with the ranks of the provided operands. Affected by einsum context manager.
- Parameters:
eq (str)
ops (TrainShape)
result_shape (None | TrainShape)
- Return type: