Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpsrnndescriptor(3) [mojave 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)

Check Out this Related Man Page

MPSCNNLossDataDescriptor(3)				 MetalPerformanceShaders.framework			       MPSCNNLossDataDescriptor(3)

NAME
MPSCNNLossDataDescriptor SYNOPSIS
#import <MPSCNNLoss.h> Inherits NSObject, and <NSCopying>. Instance Methods (nonnull instancetype) - init Class Methods (nullable MPSCNNLossDataDescriptor *) + cnnLossDataDescriptorWithData:layout:size: Properties MPSDataLayout layout MTLSize size NSUInteger bytesPerRow NSUInteger bytesPerImage Detailed Description This depends on Metal.framework. The MPSCNNLossDataDescriptor specifies a loss data descriptor. The same descriptor can be used to initialize both the labels and the optional weights data. Method Documentation + (nullable MPSCNNLossDataDescriptor*) cnnLossDataDescriptorWithData: (NSData *__nonnull) data(MPSDataLayout) layout(MTLSize) size Make a descriptor loss data. The bytesPerRow and bytesPerImage are automatically calculated assuming a dense array. If it is not a dense array, adjust bytesPerRow and bytesPerImage to the right value by changing properties. Parameters: data The per-element loss data. The data must be in floating point format. layout The data layout of loss data. size The size of loss data. Returns: A valid MPSCNNLossDataDescriptor object or nil, if failure. - (nonnull instancetype) init Property Documentation - bytesPerImage [read], [write], [nonatomic], [assign] Slice bytes of loss data. This parameter specifies the slice bytes of loss data. - bytesPerRow [read], [write], [nonatomic], [assign] Row bytes of loss data. This parameter specifies the row bytes of loss data. - layout [read], [nonatomic], [assign] Data layout of loss data. See MPSImage.h for more information. This parameter specifies the layout of loss data. - size [read], [nonatomic], [assign] Size of loss data: (width, height, feature channels}. This parameter specifies the size of loss data. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNLossDataDescriptor(3)
Man Page