def make_avalanche_dataset(
    dataset: IDataset[T_co],
    *,
    data_attributes: Optional[List[DataAttribute]] = None,
    transform_groups: Optional[TransformGroups] = None,
    frozen_transform_groups: Optional[TransformGroups] = None,
    collate_fn: Optional[Callable[[List], Any]] = None,
) -> AvalancheDataset[T_co]:
    """Avalanche Dataset.

    Creates a ``AvalancheDataset`` instance.
    See ``AvalancheDataset`` for more details.

    :param dataset: Original dataset. Beware that
        AvalancheDataset will not overwrite transformations already
        applied by this dataset.
    :param transform_groups: Avalanche transform groups.
    """
    return AvalancheDataset(
        [dataset],
        data_attributes=data_attributes,
        transform_groups=transform_groups,
        frozen_transform_groups=frozen_transform_groups,
        collate_fn=collate_fn,
    )
Avalanche Dataset.

    Creates a ``AvalancheDataset`` instance.
    See ``AvalancheDataset`` for more details.

    :param dataset: Original dataset. Beware that
        AvalancheDataset will not overwrite transformations already
        applied by this dataset.
    :param transform_groups: Avalanche transform groups.
    
avalanche/benchmarks/utils/data.py