def METHOD_NAME(self, predictionSlot):
    layers = []
    opLane = self.topLevelOperatorView
    # Use a slicer to provide a separate slot for each channel layer
    opSlicer = OpMultiArraySlicer2(parent=opLane.viewed_operator().parent)
    opSlicer.Input.connect(predictionSlot)
    opSlicer.AxisFlag.setValue("c")
    for channel, channelSlot in enumerate(opSlicer.Slices):
        if channelSlot.ready():
            drange = channelSlot.meta.drange or (0.0, 1.0)
            predictsrc = createDataSource(channelSlot)
            predictLayer = AlphaModulatedLayer(
                predictsrc,
                tintColor=QColor.fromRgba(self._colorTable16[channel + 1]),
                normalize=drange,
            )
            predictLayer.opacity = 1.0
            predictLayer.visible = True
            predictLayer.name = "Probability Channel #{}".format(channel + 1)
            layers.append(predictLayer)
    return layers