MPSCNNNeuronAbsolute(3)

NAME
MPSCNNNeuronAbsolute -

SYNOPSIS

#import <MPSCNN.h>

Inherits MPSCNNNeuron.

  Instance Methods
(nonnull instancetype) - initWithDevice:

  Additional Inherited Members

Detailed Description

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

Method Documentation

  - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) NS_DESIGNATED_INITIALIZER
Initialize a neuron filter

Parameters:
    device The device the filter will run on

Returns:
    A valid MPSCNNNeuronAbsolute object or nil, if failure.

Reimplemented from MPSKernel.

Author

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