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
Параметры
- 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
Возвращаемое значение
- Атрибуты