A hyperbolic tangent neuron filter.
SDKs
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Metal Performance Shaders
Declaration
class MPSCNNNeuronTanH : MPSCNNNeuron
Overview
For each pixel in an image, the filter applies the following function:
