class_docstr: Var to handle complex data.
class_docstr_tok: ["Var","to","handle","complex","data","."]
code: def __init__(
      self,
      name,
      sym_type,
      sym_val=None,
      op=None,
      op_output_idx=None,
      real: Optional[Var] = None,
      imag: Optional[Var] = None,
  ):
      super().__init__(
          name=name,
          sym_type=sym_type,
          sym_val=sym_val,
          op=op,
          op_output_idx=op_output_idx,
      )
  
      # Handle complex data types.
      self._real: Optional[Var] = real
      self._imag: Optional[Var] = imag
  
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 ComplexVar object from inherited base classes: Var with example: obj = ComplexVar(name, sym_type, sym_val, op, op_output_idx, real, imag)