MLCTrainingGraph.ExecuteForwardAsync 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
ExecuteForwardAsync(UIntPtr, MLCExecutionOptions, NSDictionary<NSString,MLCTensorData>, Boolean)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult> ExecuteForwardAsync(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData>? outputsData, out bool result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * bool -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
override this.ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> * bool -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
- outputsData
- NSDictionary<NSString,MLCTensorData>
- result
- Boolean
Returns
- Attributes
Applies to
ExecuteForwardAsync(UIntPtr, MLCExecutionOptions, Boolean)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult> ExecuteForwardAsync(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, out bool result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * bool -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
override this.ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * bool -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
- result
- Boolean
Returns
- Attributes
Applies to
ExecuteForwardAsync(UIntPtr, MLCExecutionOptions)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult> ExecuteForwardAsync(UIntPtr batchSize, MLCompute.MLCExecutionOptions options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
override this.ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
Returns
- Attributes
Applies to
ExecuteForwardAsync(UIntPtr, MLCExecutionOptions, NSDictionary<NSString,MLCTensorData>)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult> ExecuteForwardAsync(UIntPtr batchSize, MLCompute.MLCExecutionOptions options, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData>? outputsData);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
override this.ExecuteForwardAsync : unativeint * MLCompute.MLCExecutionOptions * Foundation.NSDictionary<Foundation.NSString, MLCompute.MLCTensorData> -> System.Threading.Tasks.Task<MLCompute.MLCGraphCompletionResult>
Parameters
- batchSize
-
UIntPtr
unativeint
- options
- MLCExecutionOptions
- outputsData
- NSDictionary<NSString,MLCTensorData>
Returns
- Attributes