class_docstr: PySC2 environment converter.
  
  Converts the PySC2 observation/action interface, supporting more standard
  interaction with an ML agent and providing enriched observations.
  
  Limited configuration is supported through the `ConverterSettings` proto.
  In particular, clients may choose between 'visual' and 'raw' interfaces.
  The visual interface focuses on spatial features and actions which are close
  to those used by a human when playing the game. The raw interface retains
  some spatial features but focuses on numeric unit data; actions being
  specified to units directly, ignoring e.g. the position of the camera.
  
  The converter maintains some state throughout an episode. This state relies
  on convert_observation and convert_action being called alternately
  throughout the episde. A new converter should be created for each episode.
code: def __init__(
      self,
      settings: converter_pb2.ConverterSettings,
      environment_info: converter_pb2.EnvironmentInfo,
  ):
      self._converter = converter.MakeConverter(
          settings=settings.SerializeToString(),
          environment_info=environment_info.SerializeToString(),
      )
  
file_path: pysc2/pysc2/env/converter/converter.py
imports: from typing import Any, Mapping
  from dm_env import specs
  from pysc2.env.converter.cc.python import converter
  from pysc2.env.converter.proto import converter_pb2
  from dm_env_rpc.v1 import dm_env_rpc_pb2
  from dm_env_rpc.v1 import dm_env_utils
  from dm_env_rpc.v1 import tensor_utils
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 1 to create a new Converter object  with example: obj = Converter(settings, environment_info)