MPSCnnConvolutionDataSource.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- gradientState
- MPSCnnConvolutionGradientState
- sourceState
- MPSCnnConvolutionWeightsAndBiasesState
返回
- 属性
适用于
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
- gradientState
- MPSCnnConvolutionGradientState
- sourceState
- MPSCnnConvolutionWeightsAndBiasesState
返回
- 属性