Dot

This function allows you to take the dot product.

Examples for all the possible use cases are provided below.

omtools.std.dot.dot(expr1: omtools.core.variable.Variable, expr2: omtools.core.variable.Variable, axis=None)

This can the dot product between two inputs.

Parameters
expr1: Variable

The first input for the dot product.

expr2: Variable

The second input for the dot product.

axis: int

The axis along which the dot product is taken. The axis must have an axis of 3.