variance(of:axes:name:)
Returns the variance of the first input along the specified axes.
Declaration
func variance(of tensor: MPSGraphTensor, axes: [NSNumber], name: String?) -> MPSGraphTensorParameters
- axes:
A list of axes over which to perform the reduction. Tthe order of dimensions goes from the slowest moving at axis=0 to the fastest moving dimension.
- name:
An optional name for the operation.
Return Value
A valid MPSGraphTensor object.