def METHOD_NAME(cls, layer: Union[QcQuantizeWrapper, QcQuantizableMultiHeadAttention, tf.keras.layers.Layer]):
    """
    This function returns the actual layer output name for a given layer
    :param layer: Keras model layer.
    :return: Actual layer output name for the layer
    """
    if isinstance(layer, QcQuantizeWrapper):
        return layer.original_layer.output.name
    return layer.output.name