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
- 属性