(epoch_axis)
return "Epoch" if epoch_axis else "Minibatch"
Get the x axis label depending on the boolean epoch_axis.

    Arguments:
        epoch_axis (bool): If true, use Epoch, if false use Minibatch

    Returns:
        str: "Epoch" or "Minibatch"
Get the x axis label depending on the boolean epoch_axis.
Get the x axis label depending on the boolean epoch_axis .
def x_label(epoch_axis):
    """
    Get the x axis label depending on the boolean epoch_axis.

    Arguments:
        epoch_axis (bool): If true, use Epoch, if false use Minibatch

    Returns:
        str: "Epoch" or "Minibatch"
    """
    return "Epoch" if epoch_axis else "Minibatch"
def x_label ( epoch_axis ) : return "Epoch" if epoch_axis else "Minibatch"