MPSRnnMatrixTrainingState 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MPSRnnMatrixTrainingState(NSObjectFlag)
protected MPSRnnMatrixTrainingState (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
適用於
MPSRnnMatrixTrainingState(IMTLResource)
[Foundation.Export("initWithResource:")]
public MPSRnnMatrixTrainingState (Metal.IMTLResource resource);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Metal.IMTLResource -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- resource
- IMTLResource
- 屬性
適用於
MPSRnnMatrixTrainingState(IMTLResource[])
[Foundation.Export("initWithResources:")]
public MPSRnnMatrixTrainingState (Metal.IMTLResource[] resources);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Metal.IMTLResource[] -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- resources
- IMTLResource[]
- 屬性
適用於
MPSRnnMatrixTrainingState(IntPtr)
protected internal MPSRnnMatrixTrainingState (IntPtr handle);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : nativeint -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- handle
-
IntPtr
nativeint
適用於
MPSRnnMatrixTrainingState(IMTLDevice, MTLTextureDescriptor)
[Foundation.Export("initWithDevice:textureDescriptor:")]
public MPSRnnMatrixTrainingState (Metal.IMTLDevice device, Metal.MTLTextureDescriptor descriptor);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Metal.IMTLDevice * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- device
- IMTLDevice
- descriptor
- MTLTextureDescriptor
- 屬性
適用於
MPSRnnMatrixTrainingState(IMTLDevice, MPSStateResourceList)
[Foundation.Export("initWithDevice:resourceList:")]
public MPSRnnMatrixTrainingState (Metal.IMTLDevice device, MetalPerformanceShaders.MPSStateResourceList resourceList);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Metal.IMTLDevice * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- device
- IMTLDevice
- resourceList
- MPSStateResourceList
- 屬性
適用於
MPSRnnMatrixTrainingState(IMTLDevice, nuint)
[Foundation.Export("initWithDevice:bufferSize:")]
public MPSRnnMatrixTrainingState (Metal.IMTLDevice device, nuint bufferSize);
new MetalPerformanceShaders.MPSRnnMatrixTrainingState : Metal.IMTLDevice * nuint -> MetalPerformanceShaders.MPSRnnMatrixTrainingState
參數
- device
- IMTLDevice
- bufferSize
- System.System.UIntPtr System.unativeint
- 屬性