MPSGraph_MPSGraphStencilOps.Stencil 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.
[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
- source
- MPSGraphTensor
- weights
- MPSGraphTensor
- descriptor
- MPSGraphStencilOpDescriptor
- name
- String
Returns
- Attributes