One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNReduceFeatureChannelsSum

class · iOS 11.3+ · SDK 27.1

class MPSNNReduceFeatureChannelsSum

Members (4)

init · iOS 11.3+

init

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

init

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

weight

TypeScript
get weight(): number
Swift declaration
var weight: Float { get set }
set · iOS 11.3+

weight

TypeScript
set weight(value: number)
Swift declaration
var weight: Float { get set }

Skipped declarations

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

MPSNNReduceFeatureChannelsSum.init()

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

All MetalPerformanceShaders types →