MPSCNNNeuronAbsolute(3) MetalPerformanceShaders.framework MPSCNNNeuronAbsolute(3)

MPSCNNNeuronAbsolute

#import <MPSCNNNeuron.h>

Inherits MPSCNNNeuron.


(nonnull instancetype) - initWithDevice:

This depends on Metal.framework Specifies the absolute neuron filter. For each pixel, applies the following function: f(x) = | x |

- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device

Initialize a neuron filter

Parameters:

device The device the filter will run on

Returns:

A valid MPSCNNNeuronAbsolute object or nil, if failure.

Reimplemented from MPSCNNNeuron.

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3