Average¶
This function allows you to compute the average of vectors, matrices, and tensors.
Examples for all the possible use cases are provided below.
- omtools.std.average.average(*operands: List[omtools.core.variable.Variable], axes=None)¶
This function can compute the average of a single input, multiple inputs, or along an axis.
- Parameters
- operands: Variables
The Variable(s) over which to take the average
- axes: tuple[int]
Axes along which to take the average, default value is None