Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpscnnneuronprelunode(3) [mojave man page]

MPSCNNNeuronPReLUNode(3)				 MetalPerformanceShaders.framework				  MPSCNNNeuronPReLUNode(3)

NAME
MPSCNNNeuronPReLUNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSCNNNeuronNode. Instance Methods (nonnull instancetype) - initWithSource:aData: (nonnull instancetype) - initWithSource: Class Methods (nonnull instancetype) + nodeWithSource:aData: (nonnull instancetype) + nodeWithSource: Additional Inherited Members Detailed Description A ReLU node with parameter a provided independently for each feature channel For each pixel, applies the following function: f(x) = x if x >= 0 = aData[i] * x if x < 0, i is the index of the feature channel @param sourceNode The MPSNNImageNode representing the source MPSImage for the filter @param aData An array of single precision floating-point alpha values to use Method Documentation - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSData *__nonnull) aData Init a node representing a MPSCNNNeuronTanH kernel For each pixel, applies the following function: f(x) = x if x >= 0 = aData[i] * x if x < 0, i is the index of the feature channel Parameters: sourceNode The MPSNNImageNode representing the source MPSImage for the filter aData An array of single precision floating-point alpha values to use Returns: A new MPSNNFilter node for a MPSCNNNeuronTanH kernel. + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSData *__nonnull) aData Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNNeuronPReLUNode(3)

Check Out this Related Man Page

MPSNNScaleNode(3)					 MetalPerformanceShaders.framework					 MPSNNScaleNode(3)

NAME
MPSNNScaleNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNFilterNode. Inherited by MPSNNBilinearScaleNode, and MPSNNLanczosScaleNode. Instance Methods (nonnull instancetype) - initWithSource:outputSize: (nonnull instancetype) - initWithSource:transformProvider:outputSize: Class Methods (nonnull instancetype) + nodeWithSource:outputSize: (nonnull instancetype) + nodeWithSource:transformProvider:outputSize: Additional Inherited Members Method Documentation - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(MTLSize) size init a node to convert a MPSImage to the desired size Parameters: sourceNode A valid MPSNNImageNode size The size of the output image {width, height, depth} - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size init a node to convert a MPSImage to the desired size for a region of interest Parameters: sourceNode A valid MPSNNImageNode transformProvider If non-nil, a valid MPSImageTransformProvider that provides the region of interest size The size of the output image {width, height, depth} + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(MTLSize) size create an autoreleased node to convert a MPSImage to the desired size Parameters: sourceNode A valid MPSNNImageNode size The size of the output image {width, height, depth} + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(__nullable id< MPSImageTransformProvider >) transformProvider(MTLSize) size create an autoreleased node to convert a MPSImage to the desired size for a region of interest Parameters: sourceNode A valid MPSNNImageNode transformProvider If non-nil, a valid MPSImageTransformProvider that provides the region of interest size The size of the output image {width, height, depth} Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSNNScaleNode(3)
Man Page