One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNBatchNormalizationGradient

class · iOS 11.3+ · SDK 27.1

class MPSCNNBatchNormalizationGradient

Members (6)

method · iOS 11.3+

encodeBatch

TypeScript
encodeBatchToSourceGradientsSourceImagesBatchNormalizationState(commandBuffer: SDKHandle, sourceGradients: Array<MPSImage>, sourceImages: Array<MPSImage>, batchNormalizationState: MPSCNNBatchNormalizationState): Array<MPSImage>
Swift declaration
func encodeBatch(to commandBuffer: any MTLCommandBuffer, sourceGradients: [MPSImage], sourceImages: [MPSImage], batchNormalizationState: MPSCNNBatchNormalizationState) -> [MPSImage]
method · iOS 11.3+

encodeBatch

TypeScript
encodeBatchToSourceGradientsSourceImagesBatchNormalizationStateDestinationGradients(commandBuffer: SDKHandle, sourceGradients: Array<MPSImage>, sourceImages: Array<MPSImage>, batchNormalizationState: MPSCNNBatchNormalizationState, destinationGradients: Array<MPSImage>): void
Swift declaration
func encodeBatch(to commandBuffer: any MTLCommandBuffer, sourceGradients: [MPSImage], sourceImages: [MPSImage], batchNormalizationState: MPSCNNBatchNormalizationState, destinationGradients: [MPSImage])
method · iOS 11.3+

encode

TypeScript
encodeToSourceGradientSourceImageBatchNormalizationState(commandBuffer: SDKHandle, sourceGradient: MPSImage, sourceImage: MPSImage, batchNormalizationState: MPSCNNBatchNormalizationState): MPSImage
Swift declaration
func encode(to commandBuffer: any MTLCommandBuffer, sourceGradient: MPSImage, sourceImage: MPSImage, batchNormalizationState: MPSCNNBatchNormalizationState) -> MPSImage
method · iOS 11.3+

encode

TypeScript
encodeToSourceGradientSourceImageBatchNormalizationStateDestinationGradient(commandBuffer: SDKHandle, sourceGradient: MPSImage, sourceImage: MPSImage, batchNormalizationState: MPSCNNBatchNormalizationState, destinationGradient: MPSImage): void
Swift declaration
func encode(to commandBuffer: any MTLCommandBuffer, sourceGradient: MPSImage, sourceImage: MPSImage, batchNormalizationState: MPSCNNBatchNormalizationState, destinationGradient: MPSImage)
init · iOS 11.3+

init

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

init

TypeScript
static initDeviceFusedNeuronDescriptor(device: SDKHandle, fusedNeuronDescriptor?: (MPSNNNeuronDescriptor) | null): MPSCNNBatchNormalizationGradient
Swift declaration
init(device: any MTLDevice, fusedNeuronDescriptor: MPSNNNeuronDescriptor?)

Skipped declarations

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

MPSCNNBatchNormalizationGradient.init()

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

All MetalPerformanceShaders types →