applyReduction(_:input:output:weights:filterParameters:)
Applies the specified reduction function.
Declaration
static func applyReduction(_ reductionFunction: BNNS.ReductionFunction, input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, weights: BNNSNDArrayDescriptor?, filterParameters: BNNSFilterParameters? = nil) throwsParameters
- reductionFunction:
The variable that specifies the reduction function.
- input:
The descriptor of the input.
- output:
The descriptor of the output.
- weights:
The descriptor of the weights.
- filterParameters:
The filter runtime parameters.