Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpscnndropoutgradientstate(3) [mojave man page]

MPSCNNDropoutGradientState(3)				 MetalPerformanceShaders.framework			     MPSCNNDropoutGradientState(3)

NAME
MPSCNNDropoutGradientState SYNOPSIS
#import <MPSCNNDropout.h> Inherits MPSNNGradientState. Instance Methods (nonnull instancetype) - init (nonnull NSData *) - maskData Additional Inherited Members Detailed Description This depends on Metal.framework. The MPSCNNDropoutGradientState is used to hold the mask used by both MPSCNNDropout forward filter and MPSCNNDropoutGradient backward filter. The MPSCNNDropout forward filter populates the MPSCNNDropoutGradientState object and the MPSCNNDropoutGradient backward filter consumes the state object. While the mask is stored internally, the mask data is accessible by the user for debugging purposes via an accessor method. Method Documentation - (nonnull instancetype) init Reimplemented from MPSState. - (nonnull NSData*) maskData Mask data accessor method. Returns: An autoreleased NSData object, containing the mask data. The mask data is populated in the -encode call, thus the contents are undefined until you -encode the filter. Use for debugging purposes only. In order to gaurantee that the mask data is correctly synchronized for CPU side access, it is the application's responsibility to call the [gradientState synchronizeOnCommandBuffer:] method before accessing the mask data. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNDropoutGradientState(3)

Check Out this Related Man Page

MPSCNNNeuronLinear(3)					 MetalPerformanceShaders.framework				     MPSCNNNeuronLinear(3)

NAME
MPSCNNNeuronLinear SYNOPSIS
#import <MPSCNNNeuron.h> Inherits MPSCNNNeuron. Instance Methods (nonnull instancetype) - initWithDevice:a:b: (nonnull instancetype) - initWithDevice: Additional Inherited Members Detailed Description This depends on Metal.framework Specifies the linear neuron filter. For each pixel, applies the following function: f(x) = a * x + b Method Documentation - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device Standard init with default properties per filter type Parameters: device The device that the filter will be used on. May not be NULL. Returns: A pointer to the newly initialized object. This will fail, returning nil if the device is not supported. Devices must be MTLFeatureSet_iOS_GPUFamily2_v1 or later. Reimplemented from MPSCNNNeuron. - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device(float) a(float) b Initialize the linear neuron filter Parameters: device The device the filter will run on a Filter property 'a'. See class discussion. b Filter property 'b'. See class discussion. Returns: A valid MPSCNNNeuronLinear object or nil, if failure. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNNeuronLinear(3)
Man Page