MPSCNNNeuronAbsolute(3)
NAME
MPSCNNNeuronAbsolute
SYNOPSIS
#import <MPSCNNConvolution.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 >) 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 MPSCNNKernel.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSCNNNeuronAbsolute(3)
Mac OS X 10.13.1 - Generated Mon Nov 6 18:14:24 CST 2017