MLCTrainingGraph.ExecuteForward 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
| Name | Description |
|---|---|
| ExecuteForward(UIntPtr, MLCExecutionOptions, MLCGraphCompletionHandler) | |
| ExecuteForward(UIntPtr, MLCExecutionOptions, NSDictionary<NSString,MLCTensorData>, MLCGraphCompletionHandler) |
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
- options
- MLCExecutionOptions
- 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
- options
- MLCExecutionOptions
- outputsData
- NSDictionary<NSString,MLCTensorData>
- completionHandler
- MLCGraphCompletionHandler
Returns
- Attributes