MPSCnnConvolutionWeightsAndBiasesState 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- descriptor
- MPSCnnConvolutionDescriptor
- 屬性