class_docstr: This environment defines its observation & action spaces only
  after the first call to reset. Although this pattern is sometimes
  necessary when implementing a new environment (e.g. if it depends
  on external resources), it is not encouraged.
class_docstr_tok: ["This","environment","defines","its","observation","&","action","spaces","only","after","the","first","call","to","reset",".","Although","this","pattern","is","sometimes","necessary","when","implementing","a","new","environment","(","e.g",".","if","it","depends","on","external","resources",")",",","it","is","not","encouraged","."]
code: def reset(
      self,
      *,
      seed: Optional[int] = None,
      options: Optional[dict] = None,
  ):
      super().reset(seed=seed)
      self.observation_space = spaces.Box(
          low=0, high=255, shape=(64, 64, 3), dtype=np.uint8
      )
      self.action_space = spaces.Discrete(3)
      return self.observation_space.sample(), {}
  
imports: from typing import Optional
  import numpy
  import pytest
  from gym import core, spaces
  from gym.wrappers import OrderEnforcing, TimeLimit
label_desc: Use image node_id 1 for calling the UnknownSpacesEnv obj's underlying member method code with example usage: obj.reset() and returns: self,  dict