copy
TypeScriptcopy(device?: (SDKHandle) | null): MPSMatrixFindTopKSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Selfclass · iOS 11.3+ · SDK 27.1
class MPSMatrixFindTopKcopy(device?: (SDKHandle) | null): MPSMatrixFindTopKSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Selfencode(commandBuffer: SDKHandle, inputMatrix: MPSMatrix, resultIndexMatrix: MPSMatrix, resultValueMatrix: MPSMatrix): voidSwift declarationfunc encode(commandBuffer: any MTLCommandBuffer, inputMatrix: MPSMatrix, resultIndexMatrix: MPSMatrix, resultValueMatrix: MPSMatrix)static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSMatrixFindTopK) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDeviceNumberOfTopKValues(device: SDKHandle, numberOfTopKValues: number): MPSMatrixFindTopKSwift declarationinit(device: any MTLDevice, numberOfTopKValues: Int)get indexOffset(): numberSwift declarationvar indexOffset: Int { get set }set indexOffset(value: number)Swift declarationvar indexOffset: Int { get set }get numberOfTopKValues(): numberSwift declarationvar numberOfTopKValues: Int { get set }set numberOfTopKValues(value: number)Swift declarationvar numberOfTopKValues: Int { get set }get sourceColumns(): numberSwift declarationvar sourceColumns: Int { get set }set sourceColumns(value: number)Swift declarationvar sourceColumns: Int { get set }get sourceRows(): numberSwift declarationvar sourceRows: Int { get set }set sourceRows(value: number)Swift declarationvar sourceRows: Int { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSMatrixFindTopK.init()
inherited init: cannot prove legal (class declares 1 custom initializer)