code: def __getattr__(name: str):
      if name in ["SHARDING_PRIORITIES", "ShardingFilterIterDataPipe"]:
          warnings.warn(
              f"`{name}` from `torch.utils.data.datapipes.iter.grouping` is going to be removed in PyTorch 2.1"
              f"Please use `{name}` from the `torch.utils.data.datapipes.iter.sharding`",
              category=FutureWarning,
              stacklevel=2,
          )
  
          return getattr(torch.utils.data.datapipes.iter.sharding, name)
  
      raise AttributeError(f"module {__name__} has no attribute {name}")
  
imports: import warnings
  from collections import defaultdict
  from typing import Any, Callable, DefaultDict, Iterator, List, Optional, Sized, TypeVar
  import torch.utils.data.datapipes.iter.sharding
  from torch.utils.data.datapipes._decorator import functional_datapipe
  from torch.utils.data.datapipes.datapipe import DataChunk, IterDataPipe
  from torch.utils.data.datapipes.utils.common import _check_unpickable_fn
label_desc: Use image node_id 1 for calling a global function with example usage: __getattr__(name) and returns: getattr