Bewerken

Delen via


MPSCnnConvolutionDataSource.Update Method

Definition

Overloads

Update(MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState)
Update(IMTLCommandBuffer, MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState)

Update(MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState)

[Foundation.Export("updateWithGradientState:sourceState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool Update (MetalPerformanceShaders.MPSCnnConvolutionGradientState gradientState, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState sourceState);
abstract member Update : MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> bool
override this.Update : MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> bool

Parameters

Returns

Attributes

Applies to

Update(IMTLCommandBuffer, MPSCnnConvolutionGradientState, MPSCnnConvolutionWeightsAndBiasesState)

[Foundation.Export("updateWithCommandBuffer:gradientState:sourceState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState Update (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnConvolutionGradientState gradientState, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState sourceState);
abstract member Update : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState
override this.Update : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionGradientState * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to