Share via


MPSGraph_MPSGraphStencilOps.Stencil Method

Definition

[Foundation.Export("stencilWithSourceTensor:weightsTensor:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Stencil(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor weights, MetalPerformanceShadersGraph.MPSGraphStencilOpDescriptor descriptor, string? name);
[<Foundation.Export("stencilWithSourceTensor:weightsTensor:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Stencil : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphStencilOpDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
weights
MPSGraphTensor
name
String

Returns

Attributes

Applies to