docstr: sum bins in the given logical intervals
docstr_tok: ["sum","bins","in","the","given","logical","intervals"]
code: def chunking_sum(
      self, intervals: typing.List[typing.Tuple[int, int]]
  ):
      """
      sum bins in the given logical intervals
      """
      intervals = [
          (start * self.stride, end * self.stride)
          for start, end in intervals
      ]
      data = self.evaluator.intervals_sum_with_step(
          self.pk, self.data, intervals, self.stride
      )
      return HistogramEncryptedValues(
          self.pk,
          self.evaluator,
          data,
          self.coder,
          self.dtype,
          self.size,
          self.stride,
      )
  
imports: import logging
  import typing
  from typing import List, Tuple
  import torch
  from ._encoded import HistogramEncodedValues
  from ._value import HistogramValues
  from ..indexer import Shuffler
label_desc: Use image node_id 10 for calling the HistogramEncryptedValues obj's underlying member method code with example usage: obj.chunking_sum(intervals) and returns: HistogramEncryptedValues