Objective-CclassMontreal
MLPModelConvolutionDataSource
@interface MLPModelConvolutionDataSource : NSObject <MPSCNNConvolutionDataSource>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolMPSCNNConvolutionDataSource
Members 91
- ivar
id <MTLBuffer> _biasBuffer;+0x58 - ivar
MPSVector *_biasMomentumVector;+0x98 - ivar
MPSVector *_biasVelocityVector;+0xa0 - ivar
MPSCNNConvolutionDescriptor *_convDesc;+0x30 - ivar
MLPDeviceHandler *_deviceHandler;+0x60 - ivar
const void *_initialBias;+0x70 - ivar
const void *_initialWeights;+0x68 - ivar
unsigned long long _inputFeatureChannels;+0x18 - ivar
unsigned long long _kernelHeight;+0x20 - ivar
NSString *_kernelParamsBinaryName;+0x38 - ivar
unsigned long long _kernelWidth;+0x28 - ivar
MPSNNOptimizerAdam *_optimizer;+0x80 - ivar
struct MLPModelOptimizerOptions { float adamBeta1; float adamBeta2; float adamEpsilon; float learningRate; } _optimizerOptions;+0xa8 - ivar
unsigned long long _outputFeatureChannels;+0x10 - ivar
unsigned int _seed;+0x8 - ivar
unsigned long long _sizeBias;+0x40 - ivar
unsigned long long _sizeWeights;+0x48 - ivar
MPSCNNConvolutionWeightsAndBiasesState *_state;+0x78 - ivar
id <MTLBuffer> _weightBuffer;+0x50 - ivar
MPSVector *_weightMomentumVector;+0x88 - ivar
MPSVector *_weightVelocityVector;+0x90 - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (id)biasBuffer; - method
- (id)biasMomentumVector; - method
- (float *)biasTerms; - method
- (id)biasVelocityVector; - method
- (unsigned long long)bias_size; - method
- (void)bootstrapBias:(id *)arg0 length:(unsigned long long)arg1 device:(id)arg2 stdDev:(float)arg3 values:(const void *)arg4; - method
- (void)bootstrapBuffer:(id)arg0 length:(unsigned long long)arg1 device:(id)arg2 stdDev:(float)arg3; - method
- (void)bootstrapWeights:(id *)arg0 length:(unsigned long long)arg1 device:(id)arg2 stdDev:(float)arg3 values:(const void *)arg4; - method
- (void)checkpointWithCommandQueue:(id)arg0; - method
- (id)convDesc; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)copyWithZone:(struct _NSZone *)arg0 device:(id)arg1; - method
- (unsigned int)dataType; - method
- (id)descriptor; - method
- (id)deviceHandler; - method
- (id)initWithKernelWidth:(unsigned long long)arg0 kernelHeight:(unsigned long long)arg1 inputFeatureChannels:(unsigned long long)arg2 outputFeatureChannels:(unsigned long long)arg3 stride:(unsigned long long)arg4 kernelParamsBinaryName:(id)arg5 initialWeights:(const void *)arg6 initialBias:(const void *)arg7 deviceHandler:(id)arg8 optimizerOptions:(MLPModelOptimizerOptions)arg9; - method
- (const void *)initialBias; - method
- (const void *)initialWeights; - method
- (unsigned long long)inputFeatureChannels; - method
- (unsigned long long)kernelHeight; - method
- (id)kernelParamsBinaryName; - method
- (unsigned long long)kernelWidth; - method
- (id)label; - method
- (BOOL)load; - method
- (id)optimizer; - method
- (MLPModelOptimizerOptions)optimizerOptions; - method
- (unsigned long long)outputFeatureChannels; - method
- (void)purge; - method
- (unsigned int)seed; - method
- (void)setInitialBias:(const void *)arg0; - method
- (void)setInitialWeights:(const void *)arg0; - method
- (unsigned long long)sizeBias; - method
- (unsigned long long)sizeWeights; - method
- (id)state; - method
- (id)updateWithCommandBuffer:(id)arg0 gradientState:(id)arg1; - method
- (id)updateWithCommandBuffer:(id)arg0 gradientState:(id)arg1 sourceState:(id)arg2; - method
- (id)weightBuffer; - method
- (id)weightMomentumVector; - method
- (id)weightVelocityVector; - method
- (unsigned long long)weight_size; - method
- (void *)weights; - method
- (id)weightsInWHIOOrder; - property
@property(readonly) id <MTLBuffer> biasBuffer; - property
@property(readonly, nonatomic) MPSVector *biasMomentumVector; - property
@property(readonly, nonatomic) MPSVector *biasVelocityVector; - property
@property(readonly) MPSCNNConvolutionDescriptor *convDesc; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) MLPDeviceHandler *deviceHandler; - property
@property(readonly) unsigned long long hash; - property
@property const void *initialBias; - property
@property const void *initialWeights; - property
@property(readonly) unsigned long long inputFeatureChannels; - property
@property(readonly) unsigned long long kernelHeight; - property
@property(readonly) NSString *kernelParamsBinaryName; - property
@property(readonly) unsigned long long kernelWidth; - property
@property(readonly, nonatomic) MPSNNOptimizerAdam *optimizer; - property
@property(readonly) MLPModelOptimizerOptions optimizerOptions; - property
@property(readonly) unsigned long long outputFeatureChannels; - property
@property(readonly) unsigned int seed; - property
@property(readonly) unsigned long long sizeBias; - property
@property(readonly) unsigned long long sizeWeights; - property
@property(readonly, nonatomic) MPSCNNConvolutionWeightsAndBiasesState *state; - property
@property(readonly) Class superclass; - property
@property(readonly) id <MTLBuffer> weightBuffer; - property
@property(readonly, nonatomic) MPSVector *weightMomentumVector; - property
@property(readonly, nonatomic) MPSVector *weightVelocityVector; - property
@property(readonly) NSData *weightsInWHIOOrder;
Header
@interface MLPModelConvolutionDataSource : NSObject <MPSCNNConvolutionDataSource> { unsigned int _seed; unsigned long long _outputFeatureChannels; unsigned long long _inputFeatureChannels; unsigned long long _kernelHeight; unsigned long long _kernelWidth; MPSCNNConvolutionDescriptor *_convDesc; NSString *_kernelParamsBinaryName; unsigned long long _sizeBias; unsigned long long _sizeWeights; id<MTLBuffer> _weightBuffer; id<MTLBuffer> _biasBuffer; MLPDeviceHandler *_deviceHandler; const void *_initialWeights; const void *_initialBias; MPSCNNConvolutionWeightsAndBiasesState *_state; MPSNNOptimizerAdam *_optimizer; MPSVector *_weightMomentumVector; MPSVector *_weightVelocityVector; MPSVector *_biasMomentumVector; MPSVector *_biasVelocityVector; struct MLPModelOptimizerOptions _optimizerOptions; } @property (nonatomic, readonly) MPSNNOptimizerAdam *optimizer; @property (nonatomic, readonly) MPSVector *weightMomentumVector; @property (nonatomic, readonly) MPSVector *weightVelocityVector; @property (nonatomic, readonly) MPSVector *biasMomentumVector; @property (nonatomic, readonly) MPSVector *biasVelocityVector; @property (readonly) unsigned long long outputFeatureChannels; @property (readonly) unsigned long long inputFeatureChannels; @property (readonly) unsigned long long kernelHeight; @property (readonly) unsigned long long kernelWidth; @property (readonly) MPSCNNConvolutionDescriptor *convDesc; @property (readonly) NSString *kernelParamsBinaryName; @property (readonly) unsigned long long sizeBias; @property (readonly) unsigned long long sizeWeights; @property (readonly) unsigned int seed; @property (readonly) struct MLPModelOptimizerOptions optimizerOptions; @property (readonly) id<MTLBuffer> weightBuffer; @property (readonly) id<MTLBuffer> biasBuffer; @property (readonly) MLPDeviceHandler *deviceHandler; @property (readonly) NSData *weightsInWHIOOrder; @property const void *initialWeights; @property const void *initialBias; @property (nonatomic, readonly) MPSCNNConvolutionWeightsAndBiasesState *state; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; - (unsigned int)seed; - (unsigned int)dataType; - (id)copyWithZone:(struct _NSZone *)zone; - (id)descriptor; - (id)state; - (id).cxx_construct; - (void).cxx_destruct; - (id)copyWithZone:(struct _NSZone *)zone device:(id)device; - (void)purge; - (BOOL)load; - (id)label; - (void *)weights; - (float *)biasTerms; - (unsigned long long)kernelHeight; - (unsigned long long)kernelWidth; - (id)optimizer; - (id)updateWithCommandBuffer:(id)commandBuffer gradientState:(id)gradientState sourceState:(id)sourceState; - (void)setInitialBias:(const void *)initialBias; - (id)biasBuffer; - (id)biasMomentumVector; - (id)biasVelocityVector; - (unsigned long long)bias_size; - (void)bootstrapBias:(id *)bootstrapBias length:(unsigned long long)length device:(id)device stdDev:(float)stdDev values:(const void *)values; - (void)bootstrapBuffer:(id)bootstrapBuffer length:(unsigned long long)length device:(id)device stdDev:(float)stdDev; - (void)bootstrapWeights:(id *)bootstrapWeights length:(unsigned long long)length device:(id)device stdDev:(float)stdDev values:(const void *)values; - (void)checkpointWithCommandQueue:(id)commandQueue; - (id)convDesc; - (id)deviceHandler; - (id)initWithKernelWidth:(unsigned long long)kernelWidth kernelHeight:(unsigned long long)kernelHeight inputFeatureChannels:(unsigned long long)inputFeatureChannels outputFeatureChannels:(unsigned long long)outputFeatureChannels stride:(unsigned long long)stride kernelParamsBinaryName:(id)kernelParamsBinaryName initialWeights:(const void *)initialWeights initialBias:(const void *)initialBias deviceHandler:(id)deviceHandler optimizerOptions:(struct MLPModelOptimizerOptions)optimizerOptions; - (const void *)initialBias; - (const void *)initialWeights; - (unsigned long long)inputFeatureChannels; - (id)kernelParamsBinaryName; - (struct MLPModelOptimizerOptions)optimizerOptions; - (unsigned long long)outputFeatureChannels; - (void)setInitialWeights:(const void *)initialWeights; - (unsigned long long)sizeBias; - (unsigned long long)sizeWeights; - (id)updateWithCommandBuffer:(id)commandBuffer gradientState:(id)gradientState; - (id)weightBuffer; - (id)weightMomentumVector; - (id)weightVelocityVector; - (unsigned long long)weight_size; - (id)weightsInWHIOOrder; @end