共用方式為


MPSRnnMatrixTrainingState 建構函式

定義

多載

MPSRnnMatrixTrainingState(NSObjectFlag)
MPSRnnMatrixTrainingState(IMTLResource)
MPSRnnMatrixTrainingState(IMTLResource[])
MPSRnnMatrixTrainingState(IntPtr)
MPSRnnMatrixTrainingState(IMTLDevice, MTLTextureDescriptor)
MPSRnnMatrixTrainingState(IMTLDevice, MPSStateResourceList)
MPSRnnMatrixTrainingState(IMTLDevice, nuint)

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
屬性

適用於

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
屬性

適用於