init
TypeScriptstatic initDeviceLabelsDescriptor(device: SDKHandle, labelsDescriptor: MPSCNNLossDataDescriptor): MPSCNNLossLabelsSwift declarationconvenience init(device: any MTLDevice, labelsDescriptor: MPSCNNLossDataDescriptor)class · iOS 11.3+ · SDK 27.1
class MPSCNNLossLabelsstatic initDeviceLabelsDescriptor(device: SDKHandle, labelsDescriptor: MPSCNNLossDataDescriptor): MPSCNNLossLabelsSwift declarationconvenience init(device: any MTLDevice, labelsDescriptor: MPSCNNLossDataDescriptor)static initDeviceLossImageSizeLabelsDescriptorWeightsDescriptor(device: SDKHandle, lossImageSize: _Metal_MTLSize, labelsDescriptor: MPSCNNLossDataDescriptor, weightsDescriptor?: (MPSCNNLossDataDescriptor) | null): MPSCNNLossLabelsSwift declarationinit(device: any MTLDevice, lossImageSize: MTLSize, labelsDescriptor: MPSCNNLossDataDescriptor, weightsDescriptor: MPSCNNLossDataDescriptor?)static initDeviceLossImageSizeLabelsImageWeightsImage(device: SDKHandle, lossImageSize: _Metal_MTLSize, labelsImage: MPSImage, weightsImage?: (MPSImage) | null): MPSCNNLossLabelsSwift declarationinit(device: any MTLDevice, lossImageSize: MTLSize, labelsImage: MPSImage, weightsImage: MPSImage?)labelsImage(): MPSImageSwift declarationfunc labelsImage() -> MPSImagelossImage(): MPSImageSwift declarationfunc lossImage() -> MPSImageweightsImage(): MPSImageSwift declarationfunc weightsImage() -> MPSImage1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSCNNLossLabels.init()
inherited init: cannot prove legal (class declares 3 custom initializers)