code: def convert_to_chunks(data, chunk_size: int):
      """Divide data into chunks.
  
      Args:
          data (List): data to divide into chunks.
          chunk_size (int): number of data elements to store per chunk.
  
      Returns:
          List of data chunks.
      """
      chunker = Chunker.from_chunk_size(
          len(data), chunk_size=chunk_size
      )
      chunked_data = chunker.get_chunks(data)
      return chunked_data
  
imports: import math
  import numpy
  import os
  from typing import Generator, Union, Sequence
  import torch
  import torch.utils.data.dataset
label_desc: Use image node_id 1 for calling a global function with example usage: convert_to_chunks(data, chunk_size) and returns: chunked_data