共用方式為


MPSCnnConvolutionWeightsAndBiasesState 建構函式

定義

多載

MPSCnnConvolutionWeightsAndBiasesState(NSObjectFlag)
MPSCnnConvolutionWeightsAndBiasesState(IntPtr)
MPSCnnConvolutionWeightsAndBiasesState(IMTLBuffer, IMTLBuffer)
MPSCnnConvolutionWeightsAndBiasesState(IMTLDevice, MPSCnnConvolutionDescriptor)

MPSCnnConvolutionWeightsAndBiasesState(NSObjectFlag)

protected MPSCnnConvolutionWeightsAndBiasesState (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState

參數

適用於

MPSCnnConvolutionWeightsAndBiasesState(IntPtr)

protected internal MPSCnnConvolutionWeightsAndBiasesState (IntPtr handle);
new MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState : nativeint -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState

參數

handle
IntPtr

nativeint

適用於

MPSCnnConvolutionWeightsAndBiasesState(IMTLBuffer, IMTLBuffer)

[Foundation.Export("initWithWeights:biases:")]
public MPSCnnConvolutionWeightsAndBiasesState (Metal.IMTLBuffer weights, Metal.IMTLBuffer biases);
new MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState : Metal.IMTLBuffer * Metal.IMTLBuffer -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState

參數

weights
IMTLBuffer
biases
IMTLBuffer
屬性

適用於

MPSCnnConvolutionWeightsAndBiasesState(IMTLDevice, MPSCnnConvolutionDescriptor)

[Foundation.Export("initWithDevice:cnnConvolutionDescriptor:")]
public MPSCnnConvolutionWeightsAndBiasesState (Metal.IMTLDevice device, MetalPerformanceShaders.MPSCnnConvolutionDescriptor descriptor);
new MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState : Metal.IMTLDevice * MetalPerformanceShaders.MPSCnnConvolutionDescriptor -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState

參數

device
IMTLDevice
屬性

適用於