MPSCnnConvolution.ReloadWeightsAndBiases 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- dataSource
- IMPSCnnConvolutionDataSource
- 屬性
適用於
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
- 屬性