encode(commandBuffer:sourceImage:labels:destinationImage:)

Declaration

func encode(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, labels: MPSCNNLossLabels, destinationImage: MPSImage)