A kernel for computing the top-K values and their corresponding indices in a matrix.


class MPSMatrixFindTopK : MPSMatrixUnaryKernel


Conforms To

See Also

Matrix Arithmetic Operations

class MPSMatrixSum

A kernel for performing a pointwise summation of a matrix.

class MPSMatrixMultiplication

A matrix multiplication kernel.

class MPSMatrixVectorMultiplication

A matrix-vector multiplication kernel

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software