Share via


MLCTrainingGraph.Create(MLCGraph[], MLCLayer, MLCOptimizer) Method

Definition

[Foundation.Export("graphWithGraphObjects:lossLayer:optimizer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCTrainingGraph Create(MLCompute.MLCGraph[] graphObjects, MLCompute.MLCLayer? lossLayer, MLCompute.MLCOptimizer? optimizer);
[<Foundation.Export("graphWithGraphObjects:lossLayer:optimizer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MLCompute.MLCGraph[] * MLCompute.MLCLayer * MLCompute.MLCOptimizer -> MLCompute.MLCTrainingGraph

Parameters

graphObjects
MLCGraph[]
lossLayer
MLCLayer
optimizer
MLCOptimizer

Returns

Attributes

Applies to