code: def chunking_sum(
      self, intervals: typing.List[typing.Tuple[int, int]]
  ):
      size = len(intervals)
      result = torch.zeros(size * self.stride, dtype=self.data.dtype)
      data_view = self.data.view(-1, self.stride)
      for i, (start, end) in enumerate(intervals):
          result[i * self.stride : (i + 1) * self.stride] = data_view[
              start:end, :
          ].sum(dim=0)
      return HistogramPlainValues(result, self.dtype, size, self.stride)
  
imports: import logging
  import typing
  from typing import List, Tuple
  import torch
  from ._value import HistogramValues
  from ..indexer import Shuffler
label_desc: Use image node_id 14 for calling the HistogramPlainValues obj's underlying member method code with example usage: obj.chunking_sum(intervals) and returns: HistogramPlainValues