Share via


MPSGraph_MemoryOps.Assign Method

Definition

[Foundation.Export("assignVariable:withValueOfTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphOperation Assign(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor variable, MetalPerformanceShadersGraph.MPSGraphTensor tensor, string? name);
[<Foundation.Export("assignVariable:withValueOfTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Assign : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphOperation

Parameters

This
MPSGraph
variable
MPSGraphTensor
name
String

Returns

Attributes

Applies to