MPSNNFilterNode.GetTrainingGraph 方法

定义

[Foundation.Export("trainingGraphWithSourceGradient:nodeHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSNNFilterNode[] GetTrainingGraph (MetalPerformanceShaders.MPSNNImageNode gradientImageSource, MetalPerformanceShaders.MPSGradientNodeHandler nodeHandler);
abstract member GetTrainingGraph : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSGradientNodeHandler -> MetalPerformanceShaders.MPSNNFilterNode[]
override this.GetTrainingGraph : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSGradientNodeHandler -> MetalPerformanceShaders.MPSNNFilterNode[]

参数

gradientImageSource
MPSNNImageNode

返回

属性

适用于