Contents

init(function:input:output:weights:filterParameters:)

Returns a new reduction layer.

Declaration

convenience init?(function reductionFunction: BNNS.ReductionFunction, input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, weights: BNNSNDArrayDescriptor?, filterParameters: BNNSFilterParameters? = nil)

Parameters

  • 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.

Discussion