MLCTrainingGraph.ExecuteGradient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExecuteGradient(UIntPtr, MLCExecutionOptions, MLCGraphCompletionHandler)
[Foundation.Export("executeGradientWithBatchSize:options:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ExecuteGradient(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, MLCompute.MLCGraphCompletionHandler? completionHandler);
[<Foundation.Export("executeGradientWithBatchSize:options:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteGradient : unativeint * MLCompute.MLCExecutionOptions * MLCompute.MLCGraphCompletionHandler -> bool
override this.ExecuteGradient : unativeint * MLCompute.MLCExecutionOptions * MLCompute.MLCGraphCompletionHandler -> bool
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
- completionHandler
- MLCGraphCompletionHandler
Returns
- Attributes
Applies to
ExecuteGradient(UIntPtr, MLCExecutionOptions, NSDictionary<NSString,MLCTensorData>, MLCGraphCompletionHandler)
[Foundation.Export("executeGradientWithBatchSize:options:outputsData:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ExecuteGradient(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData>? outputsData, MLCompute.MLCGraphCompletionHandler? completionHandler);
[<Foundation.Export("executeGradientWithBatchSize:options:outputsData:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteGradient : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * MLCompute.MLCGraphCompletionHandler -> bool
override this.ExecuteGradient : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * MLCompute.MLCGraphCompletionHandler -> bool
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
- outputsData
- NSDictionary<NSString,MLCTensorData>
- completionHandler
- MLCGraphCompletionHandler
Returns
- Attributes