One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNGroupNormalization

class · iOS 13.0+ · SDK 27.1

class MPSCNNGroupNormalization

Members (9)

init · iOS 13.0+

init

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

init

TypeScript
static initDeviceDataSource(device: SDKHandle, dataSource: SDKHandle): MPSCNNGroupNormalization
Swift declaration
init(device: any MTLDevice, dataSource: any MPSCNNGroupNormalizationDataSource)
method · iOS 13.0+

reloadGammaAndBetaFromDataSource

TypeScript
reloadGammaAndBetaFromDataSource(): void
Swift declaration
func reloadGammaAndBetaFromDataSource()
method · iOS 13.0+

reloadGammaAndBeta

TypeScript
reloadGammaAndBeta(commandBuffer: SDKHandle, gammaAndBetaState: MPSCNNNormalizationGammaAndBetaState): void
Swift declaration
func reloadGammaAndBeta(with commandBuffer: any MTLCommandBuffer, gammaAndBetaState: MPSCNNNormalizationGammaAndBetaState)
method · iOS 13.0+

resultState

TypeScript
resultState(sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNGroupNormalizationGradientState) | null
Swift declaration
func resultState(sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNGroupNormalizationGradientState?
method · iOS 13.0+

temporaryResultState

TypeScript
temporaryResultState(commandBuffer: SDKHandle, sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNGroupNormalizationGradientState) | null
Swift declaration
func temporaryResultState(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNGroupNormalizationGradientState?
get · iOS 13.0+

dataSource

TypeScript
get dataSource(): SDKHandle
Swift declaration
var dataSource: any MPSCNNGroupNormalizationDataSource { get }
get · iOS 13.0+

epsilon

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

epsilon

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

Skipped declarations

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

MPSCNNGroupNormalization.init()

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

All MetalPerformanceShaders types →