Initializer

init(device:)

Initializes a sigmoid neuron filter.

Declaration

init(device: MTLDevice)

Parameters

device

The device the filter will run on.

Return Value

A valid MPSCNNNeuronSigmoid object or nil, if failure.