One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNReduceFeatureChannelsAndWeightsSum

class · iOS 11.3+ · SDK 27.1

class MPSNNReduceFeatureChannelsAndWeightsSum

Members (4)

init · iOS 11.3+

init

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

init

TypeScript
static initDevice(device: SDKHandle): MPSNNReduceFeatureChannelsAndWeightsSum
Swift declaration
convenience init(device: any MTLDevice)
init · iOS 11.3+

init

TypeScript
static initDeviceDoWeightedSumByNonZeroWeights(device: SDKHandle, doWeightedSumByNonZeroWeights: boolean): MPSNNReduceFeatureChannelsAndWeightsSum
Swift declaration
init(device: any MTLDevice, doWeightedSumByNonZeroWeights: Bool)
get · iOS 11.3+

doWeightedSumByNonZeroWeights

TypeScript
get doWeightedSumByNonZeroWeights(): boolean
Swift declaration
var doWeightedSumByNonZeroWeights: Bool { get }

Skipped declarations

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

MPSNNReduceFeatureChannelsAndWeightsSum.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All MetalPerformanceShaders types →