code: def generate_chunks(self, length):
      for start in range(0, length, self.useful_chunk_width):
          end = start + self.chunk_size
          is_start = start == 0
          is_end = end >= length
          yield start, end, self.useful_chunk_section(is_start, is_end)
          if is_end:
              break
  
file_path: finetune/finetune/util/input_utils.py
imports: import math
  import tensorflow
  from finetune.util.timing import ProgressBar
label_desc: Use image node_id 2 for calling the Chunker obj's underlying member method code with example usage: obj.generate_chunks(length) without return types