manpagez: man pages & more
man MPSCNNNeuronSoftPlusNode(3)
Home | html | info | man
MPSCNNNeuronSoftPlusNode(3)




NAME

       MPSCNNNeuronSoftPlusNode


SYNOPSIS

       #import <MPSNNGraphNodes.h>

       Inherits MPSCNNNeuronNode.

   Instance Methods
       (nonnull instancetype) - initWithSource:a:b:
       (nonnull instancetype) - initWithSource:

   Class Methods
       (nonnull instancetype) + nodeWithSource:a:b:
       (nonnull instancetype) + nodeWithSource:

   Additional Inherited Members

Detailed Description

       A node representing a MPSCNNNeuronSoftPlus kernel  For each pixel,
       applies the following function:

       f(x) = a * log(1 + e^(b * x))





Method Documentation

   - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
       sourceNode
       Init a node with default values for parameters a & b

   - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull)
       sourceNode(float) a(float) b
       Init a node representing a MPSCNNNeuronSoftPlus kernel

       Parameters:
           sourceNode The MPSNNImageNode representing the source MPSImage for
           the filter
           a See discussion above.
           b See discussion above.

       Returns:
           A new MPSNNFilter node for a MPSCNNNeuronSoftPlus kernel.



   + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
       sourceNode
       Create an autoreleased node with default values for parameters a & b

   + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull)
       sourceNode(float) a(float) b

Author

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





Version MetalPerformanceShaders-Thu2Jul 13 2017    MPSCNNNeuronSoftPlusNode(3)


Mac OS X 10.12.6 - Generated Sun Oct 29 19:01:36 CDT 2017
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.