編集

次の方法で共有


MPSRnnMatrixTrainingState.CreateTemporaryState Method

Definition

Overloads

CreateTemporaryState(IMTLCommandBuffer)
CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)
CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)
CreateTemporaryState(IMTLCommandBuffer, nuint)

CreateTemporaryState(IMTLCommandBuffer)

[Foundation.Export("temporaryStateWithCommandBuffer:")]
public static MetalPerformanceShaders.MPSRnnMatrixTrainingState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer);
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSRnnMatrixTrainingState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)

[Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")]
public static MetalPerformanceShaders.MPSRnnMatrixTrainingState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, Metal.MTLTextureDescriptor descriptor);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSRnnMatrixTrainingState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)

[Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")]
public static MetalPerformanceShaders.MPSRnnMatrixTrainingState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSStateResourceList resourceList);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSRnnMatrixTrainingState

Parameters

commandBuffer
IMTLCommandBuffer
resourceList
MPSStateResourceList

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, nuint)

[Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")]
public static MetalPerformanceShaders.MPSRnnMatrixTrainingState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, nuint bufferSize);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * nuint -> MetalPerformanceShaders.MPSRnnMatrixTrainingState

Parameters

commandBuffer
IMTLCommandBuffer
bufferSize
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to