Share via


MPSGraphExecutable.Run Method

Definition

[Foundation.Export("runWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShadersGraph.MPSGraphTensorData[] Run(Metal.IMTLCommandQueue commandQueue, MetalPerformanceShadersGraph.MPSGraphTensorData[] inputsArray, MetalPerformanceShadersGraph.MPSGraphTensorData[]? resultsArray, MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor? executionDescriptor);
[<Foundation.Export("runWithMTLCommandQueue:inputsArray:resultsArray:executionDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Run : Metal.IMTLCommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]
override this.Run : Metal.IMTLCommandQueue * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphTensorData[] * MetalPerformanceShadersGraph.MPSGraphExecutableExecutionDescriptor -> MetalPerformanceShadersGraph.MPSGraphTensorData[]

Parameters

commandQueue
IMTLCommandQueue
inputsArray
MPSGraphTensorData[]
resultsArray
MPSGraphTensorData[]

Returns

Attributes

Applies to