MPSGraph_MPSGraphArithmeticOps.Select 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("selectWithPredicateTensor:truePredicateTensor:falsePredicateTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Select(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor predicateTensor, MetalPerformanceShadersGraph.MPSGraphTensor truePredicateTensor, MetalPerformanceShadersGraph.MPSGraphTensor falseSelectTensor, string? name);
[<Foundation.Export("selectWithPredicateTensor:truePredicateTensor:falsePredicateTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Select : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- predicateTensor
- MPSGraphTensor
- truePredicateTensor
- MPSGraphTensor
- falseSelectTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes