def __call__(self, elem, group_name=None):
        """Apply current transformation group to element."""
        if self.transform_groups[group_name] is None:
            return elem
        else:
            return super().__call__(elem, group_name=group_name)
Apply current transformation group to element.
avalanche/benchmarks/utils/transform_groups.py