Contents

init(device:a:)

Initializes a ReLU neuron filter.

Declaration

init(device: any MTLDevice, a: Float)

Parameters

  • device:

    The device the filter will run on.

  • a:

    The “a” variable of the filter function.

Return Value

A valid MPSCNNNeuronReLU object or nil, if failure.