MPSGraph.Run 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
Run(NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphTensor[], MPSGraphOperation[])
[Foundation.Export("runWithFeeds:targetTensors:targetOperations:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run(Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphTensor[] targetTensors, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations);
[<Foundation.Export("runWithFeeds:targetTensors:targetOperations:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Run : Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
override this.Run : Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
Parameters
- targetTensors
- MPSGraphTensor[]
- targetOperations
- MPSGraphOperation[]
Returns
- Attributes
Applies to
Run(IMTLCommandQueue, NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphOperation[], NSDictionary<MPSGraphTensor,MPSGraphTensorData>)
[Foundation.Export("runWithMTLCommandQueue:feeds:targetOperations:resultsDictionary:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Run(Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> resultsDictionary);
[<Foundation.Export("runWithMTLCommandQueue:feeds:targetOperations:resultsDictionary:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Run : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphOperation[] * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> -> unit
override this.Run : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphOperation[] * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> -> unit
Parameters
- commandQueue
- IMTLCommandQueue
- targetOperations
- MPSGraphOperation[]
- resultsDictionary
- NSDictionary<MPSGraphTensor,MPSGraphTensorData>
- Attributes
Applies to
Run(IMTLCommandQueue, NSDictionary<MPSGraphTensor,MPSGraphTensorData>, MPSGraphTensor[], MPSGraphOperation[])
[Foundation.Export("runWithMTLCommandQueue:feeds:targetTensors:targetOperations:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> Run(Metal.IMTLCommandQueue commandQueue, Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor,MetalPerformanceShadersGraph.MPSGraphTensorData> feeds, MetalPerformanceShadersGraph.MPSGraphTensor[] targetTensors, MetalPerformanceShadersGraph.MPSGraphOperation[]? targetOperations);
[<Foundation.Export("runWithMTLCommandQueue:feeds:targetTensors:targetOperations:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Run : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
override this.Run : Metal.IMTLCommandQueue * Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData> * MetalPerformanceShadersGraph.MPSGraphTensor[] * MetalPerformanceShadersGraph.MPSGraphOperation[] -> Foundation.NSDictionary<MetalPerformanceShadersGraph.MPSGraphTensor, MetalPerformanceShadersGraph.MPSGraphTensorData>
Parameters
- commandQueue
- IMTLCommandQueue
- targetTensors
- MPSGraphTensor[]
- targetOperations
- MPSGraphOperation[]
Returns
- Attributes