MPSCnnConvolutionDataSource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- gradientState
- MPSCnnConvolutionGradientState
- sourceState
- MPSCnnConvolutionWeightsAndBiasesState
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
- gradientState
- MPSCnnConvolutionGradientState
- sourceState
- MPSCnnConvolutionWeightsAndBiasesState
Returns
- Attributes