class_docstr: This space represent sets of finite-length sequences.
  
  This space represents the set of tuples of the form :math:`(a_0, \dots, a_n)` where the :math:`a_i` belong
  to some space that is specified during initialization and the integer :math:`n` is not fixed
  
  Example::
      >>> space = Sequence(Box(0, 1))
      >>> space.sample()
      (array([0.0259352], dtype=float32),)
      >>> space.sample()
      (array([0.80977976], dtype=float32), array([0.80066574], dtype=float32), array([0.77165383], dtype=float32))
class_docstr_tok: ["This","space","represent","sets","of","finite-length","sequences",".","This","space","represents","the","set","of","tuples","of","the","form",":","math",":","`","(","a_0",",","\\dots",",","a_n",")","`","where","the",":","math",":","`","a_i","`","belong","to","some","space","that","is","specified","during","initialization","and","the","integer",":","math",":","`","n","`","is","not","fixed","Example",":",":",">",">",">","space","=","Sequence","(","Box","(","0",",","1",")",")",">",">",">","space.sample","(",")","(","array","(","[","0.0259352","]",",","dtype=float32",")",",",")",">",">",">","space.sample","(",")","(","array","(","[","0.80977976","]",",","dtype=float32",")",",","array","(","[","0.80066574","]",",","dtype=float32",")",",","array","(","[","0.77165383","]",",","dtype=float32",")",")"]
docstr: Check whether ``other`` is equivalent to this instance.
docstr_tok: ["Check","whether","``","other","``","is","equivalent","to","this","instance","."]
code: def __eq__(self, other) -> bool:
      """Check whether ``other`` is equivalent to this instance."""
      return (
          isinstance(other, Sequence)
          and self.feature_space == other.feature_space
      )
  
file_path: gym/gym/spaces/sequence.py
imports: from collections.abc import Sequence
  from typing import Any, List, Optional, Tuple, Union
  import numpy
  import gym
  from gym.spaces.space import Space
label_desc: Use image node_id 9 for calling the Sequence obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown