code: def _iterator_deprecation_warning():
      warnings.warn(
          "Please set `reader_name` and don't set last_batch_padded and size manually "
          + "whenever possible. This may lead, in some situations, to missing some "
          + "samples or returning duplicated ones. Check the Sharding section of the "
          "documentation for more details.",
          Warning,
          stacklevel=2,
      )
  
imports: from nvidia.dali import types
  import math
  import logging
  import numpy
  import warnings
  from enum import Enum, unique
  from collections.abc import Iterable
label_desc: Use image node_id 1 for calling a global function with example usage: _iterator_deprecation_warning() without return types