Inner¶
This function allows you to take the inner product.
Examples for all the possible use cases are provided below.
- omtools.std.inner.inner(expr1: omtools.core.variable.Variable, expr2: omtools.core.variable.Variable, axes=None)¶
This can the dot product between two inputs.
- Parameters
- expr1: Variable
The first input for the inner product.
- expr2: Variable
The second input for the inner product.
- axes: tuple[int]
The axes along which the inner product is taken.