def METHOD_NAME(values):
    """
    Get the size of the parameter generator parameters in bytes.
    :param values:
    :type values: int or ~pyNN.random.RandomDistribution
    :rtype: int
    :raises TypeError: If `values` is of an unsupported data type
    """
    if numpy.isscalar(values):
        return BYTES_PER_WORD
    if isinstance(values, RandomDistribution):
        parameters = available_distributions[values.name]
        return len(parameters) * BYTES_PER_WORD
    raise ValueError(f"Unexpected value {values}")