def shape(parameter):
    """
    Get the shape of a ``Parameter``.

    Parameters
    ----------
    parameter: Parameter
        ``Parameter`` object to get the shape of

    Returns
    -------
    tuple:
        shape of the ``Parameter`` object
    """
    return parameter.shape