class_docstr: Interface specifying the conversion of agent actions to actual environment MazeActions.
      
class_docstr_tok: ["Interface","specifying","the","conversion","of","agent","actions","to","actual","environment","MazeActions","."]
docstr: Converts agent action to environment MazeAction.
  
  :param action: the agent action.
  :param maze_state: the environment state.
  :return: the environment MazeAction.
docstr_tok: ["Converts","agent","action","to","environment","MazeAction",".",":","param","action",":","the","agent","action",".",":","param","maze_state",":","the","environment","state",".",":","return",":","the","environment","MazeAction","."]
code: def space_to_maze(
      self, action: Dict[str, np.ndarray], maze_state: MazeStateType
  ) -> MazeActionType:
      """Converts agent action to environment MazeAction.
  
      :param action: the agent action.
      :param maze_state: the environment state.
      :return: the environment MazeAction.
      """
  
file_path: maze/maze/core/env/action_conversion.py
imports: from abc import ABC, abstractmethod
  from typing import Dict, Union
  import numpy
  import torch
  from gym import spaces
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_state import MazeStateType
label_desc: Use image node_id 1 for calling the ActionConversionInterface obj's underlying member method code with example usage: obj.space_to_maze(action, maze_state) without return types