code: def sequence_to_numpy(
      data: t.Optional[t.Sequence],
      expected_dtype=None,
      expected_ndim_per_object=None,
  ) -> t.Optional[t.List]:
      """Convert a sequence containing some type of array to a List of numpy arrays.
  
      Returns
      -------
      t.Optional[t.Sequence]
          A list of numpy arrays of the provided data.
      """
      if data is None:
          return None
      return [
          object_to_numpy(x, expected_dtype, expected_ndim_per_object)
          for x in data
      ]
  
imports: import random
  import sys
  import typing
  from collections import Counter
  from enum import Enum
  from numbers import Number
  import numpy
  from typing_extensions import NotRequired, TypedDict
  from deepchecks.core.errors import DatasetValidationError
  from deepchecks.utils.logger import get_logger
label_desc: Use image node_id 1 for calling a global function with example usage: sequence_to_numpy(data, expected_dtype, expected_ndim_per_object) and returns: unknown, None