parameters: (self, elements)
docstring: Encodes sequence of any elements as a vector.
  
      Args:
        elements: sequence of elements, they may have different types.
docstring_summary: Encodes sequence of any elements as a vector.
docstring_tokens: Encodes sequence of any elements as a vector .
function: def VectorFromElements(self, elements):
      """Encodes sequence of any elements as a vector.
  
      Args:
        elements: sequence of elements, they may have different types.
      """
      with self.Vector():
        for e in elements:
          self.Add(e)
function_tokens: def VectorFromElements ( self , elements ) : with self . Vector ( ) : for e in elements : self . Add ( e )