class_docstr: Wrap a list of datapoints to a DataFlow
class_docstr_tok: ["Wrap","a","list","of","datapoints","to","a","DataFlow"]
docstr: Args:
      lst (list): input list. Each element is a datapoint.
      shuffle (bool): shuffle data.
docstr_tok: ["Args",":","lst","(","list",")",":","input","list",".","Each","element","is","a","datapoint",".","shuffle","(","bool",")",":","shuffle","data","."]
code: def __init__(self, lst, shuffle=True):
      """
      Args:
          lst (list): input list. Each element is a datapoint.
          shuffle (bool): shuffle data.
      """
      super(DataFromList, self).__init__()
      self.lst = lst
      self.shuffle = shuffle
  
imports: import copy
  import numpy
  import six
  from .base import DataFlow, RNGDataFlow
label_desc: Use image node_id 1 to create a new DataFromList object from inherited base classes: RNGDataFlow with example: obj = DataFromList(lst, shuffle)