C# Class DigitDetection.SlimMPSCnnFullyConnected

The SlimMPSCnnFullyConnected is a wrapper class around MPSCnnFullyConnected used to encapsulate: - making an MPSCnnConvolutionDescriptor, - adding network parameters (weights and bias binaries by memory mapping the binaries) - getting our fullyConnected layer
Inheritance: MPSCnnFullyConnected
Datei anzeigen Open project: xamarin/monotouch-samples Class Usage Examples

Public Methods

Method Description
Create ( uint kernelWidth, uint kernelHeight, uint inputFeatureChannels, uint outputFeatureChannels, MPSCnnNeuron neuronFilter, IMTLDevice device, string kernelParamsBinaryName, uint destinationFeatureChannelOffset ) : SlimMPSCnnFullyConnected

Private Methods

Method Description
IntPtr_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr_UInt64 ( IntPtr receiver, IntPtr selector, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr arg4, ulong arg5 ) : IntPtr
SlimMPSCnnFullyConnected ( IMTLDevice device, MPSCnnConvolutionDescriptor convolutionDescriptor, IntPtr kernelWeights, IntPtr biasTerms, MPSCnnConvolutionFlags flags ) : System

Method Details

Create() public static method

public static Create ( uint kernelWidth, uint kernelHeight, uint inputFeatureChannels, uint outputFeatureChannels, MPSCnnNeuron neuronFilter, IMTLDevice device, string kernelParamsBinaryName, uint destinationFeatureChannelOffset ) : SlimMPSCnnFullyConnected
kernelWidth uint
kernelHeight uint
inputFeatureChannels uint
outputFeatureChannels uint
neuronFilter MPSCnnNeuron
device IMTLDevice
kernelParamsBinaryName string
destinationFeatureChannelOffset uint
return SlimMPSCnnFullyConnected