One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixFullyConnectedGradient

class · iOS 12.0+ · SDK 27.1

class MPSMatrixFullyConnectedGradient

Members (13)

method · iOS 12.0+

copy

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

encodeForData

TypeScript
encodeForData(commandBuffer: SDKHandle, gradientMatrix: MPSMatrix, weightMatrix: MPSMatrix, resultGradientForDataMatrix: MPSMatrix): void
Swift declaration
func encodeForData(to commandBuffer: any MTLCommandBuffer, gradientMatrix: MPSMatrix, weightMatrix: MPSMatrix, resultGradientForDataMatrix: MPSMatrix)
method · iOS 12.0+

encodeForWeightsAndBias

TypeScript
encodeForWeightsAndBias(commandBuffer: SDKHandle, gradientMatrix: MPSMatrix, inputMatrix: MPSMatrix, resultGradientForWeightMatrix: MPSMatrix, resultGradientForBiasVector?: (MPSVector) | null): void
Swift declaration
func encodeForWeightsAndBias(to commandBuffer: any MTLCommandBuffer, gradientMatrix: MPSMatrix, inputMatrix: MPSMatrix, resultGradientForWeightMatrix: MPSMatrix, resultGradientForBiasVector: MPSVector?)
init · iOS 12.0+

init

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

init

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

alpha

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

alpha

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

sourceInputFeatureChannels

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

sourceInputFeatureChannels

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

sourceNumberOfFeatureVectors

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

sourceNumberOfFeatureVectors

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

sourceOutputFeatureChannels

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

sourceOutputFeatureChannels

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

Skipped declarations

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

MPSMatrixFullyConnectedGradient.init()

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

All MetalPerformanceShaders types →