Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

Check Out this Related Man Page

MPSCNNLocalContrastNormalizationGradientNode(3) 	 MetalPerformanceShaders.framework	   MPSCNNLocalContrastNormalizationGradientNode(3)

NAME
MPSCNNLocalContrastNormalizationGradientNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSNNGradientFilterNode. Instance Methods (nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight: Class Methods (nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight: Properties float alpha float beta float delta float p0 float pm float ps NSUInteger kernelWidth NSUInteger kernelHeight Method Documentation - (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight + (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight Property Documentation - alpha [read], [write], [nonatomic], [assign] The value of alpha. Default is 0.0 The default value 0.0 is not recommended and is preserved for backwards compatibility. With alpha 0, it performs a local mean subtraction. The MPSCNNLocalContrastNormalizationNode used with the MPSNNGraph uses 1.0 as a default. - beta [read], [write], [nonatomic], [assign] The value of beta. Default is 0.5 - delta [read], [write], [nonatomic], [assign] The value of delta. Default is 1/1024 - (NSUInteger) kernelHeight [read], [nonatomic], [assign] - (NSUInteger) kernelWidth [read], [nonatomic], [assign] - p0 [read], [write], [nonatomic], [assign] The value of p0. Default is 1.0 - pm [read], [write], [nonatomic], [assign] The value of pm. Default is 0.0 - ps [read], [write], [nonatomic], [assign] The value of ps. Default is 1.0 Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNLocalContrastNormalizationGradientNode(3)
Man Page