class_docstr: This class creates a maze problem given a map.
class_docstr_tok: ["This","class","creates","a","maze","problem","given","a","map","."]
code: def __init__(self):
      self._load_map()
      self.viewer = None
      self.action_space = spaces.Discrete(4)
      self.observation_space = spaces.Discrete(
          self.room_lengths[0] * self.room_lengths[1]
      )
      self._seed()
      self._reset()
  
file_path: CNTK/Examples/ReinforcementLearning/deeprl/env/maze2d.py
imports: import gym
  import numpy
  from gym import spaces
  from gym.utils import seeding
label_desc: Use image node_id 1 to create a new Maze2D object from inherited base classes: gym with example: obj = Maze2D()