parameters: (
          self, name, elem_type=None, init_length=None, dynamic_length=True, **kwargs
      )
docstring: 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).
docstring_summary: elem_type (builtin.tensor)
docstring_tokens: elem_type ( builtin . tensor )
function: def __init__(
          self, name, elem_type=None, init_length=None, dynamic_length=True, **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).
          """
          super(ListVar, self).__init__(
              name=name,
              sym_type=types.list(elem_type, init_length, dynamic_length),
              sym_val=None,
              **kwargs
          )
          self._elem_type = elem_type
          self.init_length = init_length
          self.dynamic_length = dynamic_length
function_tokens: def __init__ ( self , name , elem_type = None , init_length = None , dynamic_length = True , * * kwargs ) : super ( ListVar , self ) . __init__ ( name = name , sym_type = types . list ( elem_type , init_length , dynamic_length ) , sym_val = None , * * kwargs ) self . _elem_type = elem_type self . init_length = init_length self . dynamic_length = dynamic_length