Share via


MPSGraph.RunAsync Method

Definition

Overloads

RunAsync(NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphTensor[], MPSGraphOperation[], MPSGraphExecutionDescriptor)

[Foundation.Export("runAsyncWithFeeds:targetTensors:targetOperations:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync(Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphTensor[] targetTensors, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations, MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runAsyncWithFeeds:targetTensors:targetOperations:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunAsync : Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
override this.RunAsync : Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>

Parameters

targetTensors
MPSGraphTensor[]
targetOperations
MPSGraphOperation[]
executionDescriptor
MPSGraphExecutionDescriptor

Returns

Attributes

Applies to

RunAsync(IMTLCommandQueue, NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphOperation[], NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphExecutionDescriptor)

[Foundation.Export("runAsyncWithMTLCommandQueue:feeds:targetOperations:resultsDictionary:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RunAsync(Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary, MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runAsyncWithMTLCommandQueue:feeds:targetOperations:resultsDictionary:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunAsync : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphOperation[] * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> unit
override this.RunAsync : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphOperation[] * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> unit

Parameters

commandQueue
IMTLCommandQueue
targetOperations
MPSGraphOperation[]
executionDescriptor
MPSGraphExecutionDescriptor
Attributes

Applies to

RunAsync(IMTLCommandQueue, NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphTensor[], MPSGraphOperation[], MPSGraphExecutionDescriptor)

[Foundation.Export("runAsyncWithMTLCommandQueue:feeds:targetTensors:targetOperations:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> RunAsync(Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphTensor[] targetTensors, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations, MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runAsyncWithMTLCommandQueue:feeds:targetTensors:targetOperations:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RunAsync : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
override this.RunAsync : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] * MetalPerformanceShadersGraph.MPSGraphExecutionDescriptor -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>

Parameters

commandQueue
IMTLCommandQueue
targetTensors
MPSGraphTensor[]
targetOperations
MPSGraphOperation[]
executionDescriptor
MPSGraphExecutionDescriptor

Returns

Attributes

Applies to