Share via


MLCTrainingGraph.ExecuteForward Method

Definition

Overloads

ExecuteForward(UIntPtr, MLCExecutionOptions, MLCGraphCompletionHandler)

[Foundation.Export("executeForwardWithBatchSize:options:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ExecuteForward(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, MLCompute.MLCGraphCompletionHandler? completionHandler);
[<Foundation.Export("executeForwardWithBatchSize:options:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForward : unativeint * MLCompute.MLCExecutionOptions * MLCompute.MLCGraphCompletionHandler -> bool
override this.ExecuteForward : unativeint * MLCompute.MLCExecutionOptions * MLCompute.MLCGraphCompletionHandler -> bool

Parameters

batchSize
UIntPtr

unativeint

completionHandler
MLCGraphCompletionHandler

Returns

Attributes

Applies to

ExecuteForward(UIntPtr, MLCExecutionOptions, NSDictionary<NSString,MLCTensorData>, MLCGraphCompletionHandler)

[Foundation.Export("executeForwardWithBatchSize:options:outputsData:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ExecuteForward(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData>? outputsData, MLCompute.MLCGraphCompletionHandler? completionHandler);
[<Foundation.Export("executeForwardWithBatchSize:options:outputsData:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForward : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * MLCompute.MLCGraphCompletionHandler -> bool
override this.ExecuteForward : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * MLCompute.MLCGraphCompletionHandler -> bool

Parameters

batchSize
UIntPtr

unativeint

completionHandler
MLCGraphCompletionHandler

Returns

Attributes

Applies to