One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixSoftMaxGradient

class · iOS 12.0+ · SDK 27.1

class MPSMatrixSoftMaxGradient

Members (8)

method · iOS 12.0+

copy

TypeScript
copy(device?: (SDKHandle) | null): MPSMatrixSoftMaxGradient
Swift declaration
func copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Self
method · iOS 12.0+

encode

TypeScript
encode(commandBuffer: SDKHandle, gradientMatrix: MPSMatrix, forwardOutputMatrix: MPSMatrix, resultMatrix: MPSMatrix): void
Swift declaration
func encode(to commandBuffer: any MTLCommandBuffer, gradientMatrix: MPSMatrix, forwardOutputMatrix: MPSMatrix, resultMatrix: MPSMatrix)
init · iOS 12.0+

init

TypeScript
static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSMatrixSoftMaxGradient) | null
Swift declaration
init?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 12.0+

init

TypeScript
static initDevice(device: SDKHandle): MPSMatrixSoftMaxGradient
Swift declaration
init(device: any MTLDevice)
get · iOS 12.0+

sourceColumns

TypeScript
get sourceColumns(): number
Swift declaration
var sourceColumns: Int { get set }
set · iOS 12.0+

sourceColumns

TypeScript
set sourceColumns(value: number)
Swift declaration
var sourceColumns: Int { get set }
get · iOS 12.0+

sourceRows

TypeScript
get sourceRows(): number
Swift declaration
var sourceRows: Int { get set }
set · iOS 12.0+

sourceRows

TypeScript
set sourceRows(value: number)
Swift declaration
var sourceRows: Int { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSMatrixSoftMaxGradient.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →