init
TypeScriptstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSCNNDropout) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)class · iOS 11.3+ · SDK 27.1
class MPSCNNDropoutstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSCNNDropout) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDeviceKeepProbabilitySeedMaskStrideInPixels(device: SDKHandle, keepProbability: number, seed: number, maskStrideInPixels: _Metal_MTLSize): MPSCNNDropoutSwift declarationinit(device: any MTLDevice, keepProbability: Float, seed: Int, maskStrideInPixels: MTLSize)resultStateBatch(sourceImage: Array<MPSImage>, sourceStates: (Array<Array<MPSState>>) | null, destinationImage: Array<MPSImage>): (MPSCNNDropoutGradientState) | nullSwift declarationfunc resultStateBatch(sourceImage: [MPSImage], sourceStates: [[MPSState]]?, destinationImage: [MPSImage]) -> MPSCNNDropoutGradientState?resultState(sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNDropoutGradientState) | nullSwift declarationfunc resultState(sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNDropoutGradientState?temporaryResultStateBatch(commandBuffer: SDKHandle, sourceImage: Array<MPSImage>, sourceStates: (Array<Array<MPSState>>) | null, destinationImage: Array<MPSImage>): (Array<MPSCNNDropoutGradientState>) | nullSwift declarationfunc temporaryResultStateBatch(commandBuffer: any MTLCommandBuffer, sourceImage: [MPSImage], sourceStates: [[MPSState]]?, destinationImage: [MPSImage]) -> [MPSCNNDropoutGradientState]?temporaryResultState(commandBuffer: SDKHandle, sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNDropoutGradientState) | nullSwift declarationfunc temporaryResultState(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNDropoutGradientState?get keepProbability(): numberSwift declarationvar keepProbability: Float { get }get maskStrideInPixels(): _Metal_MTLSizeSwift declarationvar maskStrideInPixels: MTLSize { get }get seed(): numberSwift declarationvar seed: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSCNNDropout.init()
inherited init: cannot prove legal (class declares 1 custom initializer)