Function

BNNSFilterCreateConvolutionLayer(_:_:_:_:)

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

Declaration

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

Parameters

in_desc

Pointer to a BNNSImageStackDescriptor struct describing the input

out_desc

Pointer to a BNNSImageStackDescriptor struct describing the output

layer_params

Pointer to a BNNSConvolutionLayerParameters struct describing the layer parameters

filter_params

Pointer to a BNNSFilterParameters struct describing the filter parameters

Return Value

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

See Also

Convolution Layers

struct BNNSConvolutionLayerParameters

A structure containing convolution parameters.