MPSGraph_MPSGraphTopKOps.BottomK 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
| Name | Description |
|---|---|
| BottomK(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, String) | |
| BottomK(MPSGraph, MPSGraphTensor, IntPtr, UIntPtr, String) |
BottomK(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("bottomKWithSourceTensor:axisTensor:kTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] BottomK(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor axisTensor, MetalPerformanceShadersGraph.MPSGraphTensor kTensor, string? name);
[<Foundation.Export("bottomKWithSourceTensor:axisTensor:kTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member BottomK : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- source
- MPSGraphTensor
- axisTensor
- MPSGraphTensor
- kTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
BottomK(MPSGraph, MPSGraphTensor, IntPtr, UIntPtr, String)
[Foundation.Export("bottomKWithSourceTensor:axis:k:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] BottomK(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, IntPtr axis, UIntPtr k, string? name);
[<Foundation.Export("bottomKWithSourceTensor:axis:k:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member BottomK : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * nativeint * unativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- source
- MPSGraphTensor
- axis
-
IntPtr
nativeint
- k
-
UIntPtr
unativeint
- name
- String
Returns
- Attributes