docstr: elem_type (builtin.tensor)
  
  init_length (int): initial length
  
  dynamic_length (bool): True to allow list to grow. False uses
  init_length as the fixed size (init_length is runtime length).
  
  sym_val: value of the list, if available
docstr_tok: ["elem_type","(","builtin.tensor",")","init_length","(","int",")",":","initial","length","dynamic_length","(","bool",")",":","True","to","allow","list","to","grow",".","False","uses","init_length","as","the","fixed","size","(","init_length","is","runtime","length",")",".","sym_val",":","value","of","the","list",",","if","available"]
code: def __init__(
      self,
      name,
      elem_type=None,
      init_length=None,
      dynamic_length=True,
      sym_val=None,
      **kwargs,
  ):
      """
      elem_type (builtin.tensor)
  
      init_length (int): initial length
  
      dynamic_length (bool): True to allow list to grow. False uses
      init_length as the fixed size (init_length is runtime length).
  
      sym_val: value of the list, if available
      """
      super().__init__(
          name=name,
          sym_type=types.list(elem_type, init_length, dynamic_length),
          sym_val=sym_val,
          **kwargs,
      )
      self._elem_type = elem_type
      self.init_length = init_length
      self.dynamic_length = dynamic_length
  
imports: from typing import Optional, Union
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types import builtin_to_string
  from coremltools.converters.mil.mil.types.symbolic import any_symbolic
label_desc: Use image node_id 1 to create a new ListVar object from inherited base classes: Var with example: obj = ListVar(name, elem_type, init_length, dynamic_length, sym_val)