Share via


MLCTrainingGraph.GetSourceGradientTensors(MLCLayer) Method

Definition

[Foundation.Export("sourceGradientTensorsForLayer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MLCompute.MLCTensor[] GetSourceGradientTensors(MLCompute.MLCLayer layer);
[<Foundation.Export("sourceGradientTensorsForLayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSourceGradientTensors : MLCompute.MLCLayer -> MLCompute.MLCTensor[]
override this.GetSourceGradientTensors : MLCompute.MLCLayer -> MLCompute.MLCTensor[]

Parameters

layer
MLCLayer

Returns

Attributes

Applies to