class_docstr: Interface specifying the conversion of abstract environment state to the gym-compatible observation.
      
class_docstr_tok: ["Interface","specifying","the","conversion","of","abstract","environment","state","to","the","gym-compatible","observation","."]
docstr: Converts core environment state to a machine readable agent observation.
          
docstr_tok: ["Converts","core","environment","state","to","a","machine","readable","agent","observation","."]
code: def maze_to_space(self, maze_state: MazeStateType) -> ObservationType:
      """Converts core environment state to a machine readable agent observation."""
  
file_path: maze/maze/core/env/observation_conversion.py
imports: from abc import ABC, abstractmethod
  from typing import Dict
  import numpy
  import torch
  from gym import spaces
  from maze.core.env.maze_state import MazeStateType
label_desc: Use image node_id 1 for calling the ObservationConversionInterface obj's underlying member method code with example usage: obj.maze_to_space(maze_state) without return types