Share via


MPSCnnConvolutionDataSource.Update 方法

定义

重载

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

参数

返回

属性

适用于

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

参数

commandBuffer
IMTLCommandBuffer

返回

属性

适用于