Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpsmatrixunarykernel(3) [mojave man page]

MPSMatrixUnaryKernel(3) 				 MetalPerformanceShaders.framework				   MPSMatrixUnaryKernel(3)

NAME
MPSMatrixUnaryKernel SYNOPSIS
#import <MPSMatrixTypes.h> Inherits MPSKernel. Inherited by MPSMatrixDecompositionCholesky, MPSMatrixDecompositionLU, MPSMatrixFindTopK, MPSMatrixNeuron, and MPSMatrixSoftMax. Properties MTLOrigin sourceMatrixOrigin MTLOrigin resultMatrixOrigin NSUInteger batchStart NSUInteger batchSize Additional Inherited Members Detailed Description This depends on Metal.framework A MPSMatrixUnaryKernel consumes one MPSMatrix and produces one MPSMatrix. Property Documentation - batchSize [read], [write], [nonatomic], [assign] The number of matrices in the batch to process. This property is modifiable and by default allows all matrices available at encoding time to be processed. If a single matrix should be processed set this value to 1. - batchStart [read], [write], [nonatomic], [assign] The index of the first matrix in the batch. This property is modifiable and defaults to 0 at initialization time. If batch processing should begin at a different matrix this value should be modified prior to encoding the kernel. - resultMatrixOrigin [read], [write], [nonatomic], [assign] The origin, relative to [0, 0] in the result matrix, at which to start writing results. This property is modifiable and defaults to [0, 0] at initialization time. If a different origin is desired then this should be modified prior to encoding the kernel. The z value must be 0. - sourceMatrixOrigin [read], [write], [nonatomic], [assign] The origin, relative to [0, 0] in the source matrix, at which to start reading values. This property is modifiable and defaults to [0, 0] at initialization time. If a different origin is desired then this should be modified prior to encoding the kernel. The z value must be 0. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSMatrixUnaryKernel(3)

Check Out this Related Man Page

MPSRNNDescriptor(3)					 MetalPerformanceShaders.framework				       MPSRNNDescriptor(3)

NAME
MPSRNNDescriptor SYNOPSIS
#import <MPSRNNLayer.h> Inherits NSObject. Inherited by MPSGRUDescriptor, MPSLSTMDescriptor, and MPSRNNSingleGateDescriptor. Properties NSUInteger inputFeatureChannels NSUInteger outputFeatureChannels BOOL useLayerInputUnitTransformMode BOOL useFloat32Weights MPSRNNSequenceDirection layerSequenceDirection Detailed Description This depends on Metal.framework The MPSRNNDescriptor specifies a Recursive neural network block/layer descriptor. Property Documentation - inputFeatureChannels [read], [write], [nonatomic], [assign] The number of feature channels per pixel in the input image or number of rows in the input matrix. - layerSequenceDirection [read], [write], [nonatomic], [assign] When the layer specified with this descriptor is used to process a sequence of inputs by calling See also: encodeBidirectionalSequenceToCommandBuffer then this parameter defines in which direction the sequence is processed. The operation of the layer is: (yt, ht, ct) = f(xt,ht-1,ct-1) for MPSRNNSequenceDirectionForward and (yt, ht, ct) = f(xt,ht+1,ct+1) for MPSRNNSequenceDirectionBackward, where xt is the output of the previous layer that encodes in the same direction as this layer, (or the input image or matrix if this is the first layer in stack with this direction). MPSRNNImageInferenceLayer and MPSRNNMatrixInferenceLayer. - outputFeatureChannels [read], [write], [nonatomic], [assign] The number of feature channels per pixel in the destination image or number of rows in the destination matrix. - useFloat32Weights [read], [write], [nonatomic], [assign] If YES, then MPSRNNMatrixInferenceLayer uses 32-bit floating point numbers internally for weights when computing matrix transformations. If NO, then 16-bit, half precision floating point numbers are used. Currently MPSRNNImageInferenceLayer ignores this property and the convolution operations always convert FP32 weights into FP16 for better performance. Defaults to NO. - useLayerInputUnitTransformMode [read], [write], [nonatomic], [assign] if YES then use identity transformation for all weights (W, Wr, Wi, Wf, Wo, Wc) affecting input x_j in this layer, even if said weights are specified as nil. For example 'W_ij * x_j' is replaced by 'x_j' in formulae defined in MPSRNNSingleGateDescriptor. Defaults to NO. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSRNNDescriptor(3)
Man Page