Function

BNNSFilterCreateFullyConnectedLayer(_:_:_:_:)

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

Declaration

func BNNSFilterCreateFullyConnectedLayer(_ in_desc: UnsafePointer<BNNSVectorDescriptor>, _ out_desc: UnsafePointer<BNNSVectorDescriptor>, _ layer_params: UnsafePointer<BNNSFullyConnectedLayerParameters>, _ filter_params: UnsafePointer<BNNSFilterParameters>?) -> BNNSFilter?

Parameters

in_desc

Pointer to a BNNSVectorDescriptor struct describing the input

out_desc

Pointer to a BNNSVectorDescriptor struct describing the output

layer_params

Pointer to a BNNSFullyConnectedLayerParameters struct describing the layer parameters

filter_params

Pointer to a BNNSFilterParameters struct describing the filter parameters

Return Value

A BNNSFilter object representing a fully connected filter configured with the specified parameters

See Also

Fully Connected Layers

struct BNNSFullyConnectedLayerParameters

A structure containing fully connected layer parameters.