Contents

BNNSFilterCreatePoolingLayer(_:_:_:_:)

Returns a pooling filter, initialized with input, output, layer, and filter parameters.

Declaration

func BNNSFilterCreatePoolingLayer(_ in_desc: UnsafePointer<BNNSImageStackDescriptor>, _ out_desc: UnsafePointer<BNNSImageStackDescriptor>, _ layer_params: UnsafePointer<BNNSPoolingLayerParameters>, _ filter_params: UnsafePointer<BNNSFilterParameters>?) -> BNNSFilter?

Parameters

  • in_desc:

    Pointer to a BNNSImageStackDescriptor struct describing the input

  • out_desc:

    Pointer to a v struct describing the output

  • layer_params:

    Pointer to a BNNSPoolingLayerParameters struct describing the layer parameters

  • filter_params:

    Pointer to a BNNSFilterParameters struct describing the filter parameters

Return Value

A BNNSFilter object representing a pooling filter configured with the specified parameters

See Also

Pooling layers