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
BNNSImageStackDescriptorstruct describing the input - out_desc:
Pointer to a
BNNSImageStackDescriptorstruct describing the output - layer_params:
Pointer to a
BNNSConvolutionLayerParametersstruct describing the layer parameters - filter_params:
Pointer to a
BNNSFilterParametersstruct describing the filter parameters
Return Value
A BNNSFilter object representing a convolution filter configured with the specified parameters