MPSCnnConvolution.ReloadWeightsAndBiases 方法

定义

重载

ReloadWeightsAndBiases(IMPSCnnConvolutionDataSource)
ReloadWeightsAndBiases(IMTLCommandBuffer, MPSCnnConvolutionWeightsAndBiasesState)

ReloadWeightsAndBiases(IMPSCnnConvolutionDataSource)

[Foundation.Export("reloadWeightsAndBiasesWithDataSource:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Please use 'ReloadWeightsAndBiasesFromDataSource' instead.")]
[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 void ReloadWeightsAndBiases (MetalPerformanceShaders.IMPSCnnConvolutionDataSource dataSource);
abstract member ReloadWeightsAndBiases : MetalPerformanceShaders.IMPSCnnConvolutionDataSource -> unit
override this.ReloadWeightsAndBiases : MetalPerformanceShaders.IMPSCnnConvolutionDataSource -> unit

参数

属性

适用于

ReloadWeightsAndBiases(IMTLCommandBuffer, MPSCnnConvolutionWeightsAndBiasesState)

[Foundation.Export("reloadWeightsAndBiasesWithCommandBuffer:state:")]
[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 void ReloadWeightsAndBiases (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState state);
abstract member ReloadWeightsAndBiases : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit
override this.ReloadWeightsAndBiases : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSCnnConvolutionWeightsAndBiasesState -> unit

参数

commandBuffer
IMTLCommandBuffer
属性

适用于