code: def _splits_into_k(n, k: int):
      d, r = divmod(n, k)
      start = 0
      for _ in range(k):
          end = start + d + (r > 0)
          yield start, end
          start = end
          r -= 1
  
imports: import logging
  import typing
  from typing import List, MutableMapping, Tuple, Optional
  import torch
  from fate.arch.computing.api import KVTable
  from ._histogram_local import Histogram
  from ._histogram_splits import HistogramSplits
  from .indexer import HistogramIndexer, Shuffler
label_desc: Use image node_id 13 for calling the DistributedHistogram obj's underlying member method code with example usage: obj._splits_into_k(n, k) without return types