dot_product

dot_product(alpha, sigma)[source]

Computes the standard dot product of alpha with sigma.

Parameters:
  • alpha (Sequence[float] | float64 | float32) – The alpha vector.

  • sigma (Sequence[float] | float64 | float32) – The sigma vector.

Returns:

Sum of element-wise multiplication of alpha and sigma.

Return type:

Any