class_docstr: Stores the features produced by any featurizer.
class_docstr_tok: ["Stores","the","features","produced","by","any","featurizer","."]
docstr: Tests if the `self` `Feature` equals to the `other`.
  
  Args:
      other: The other object.
  
  Returns:
      `True` when the other object is a `Feature` and has the same
      type, attribute, and feature tensors.
docstr_tok: ["Tests","if","the","`","self","`","`","Feature","`","equals","to","the","`","other","`",".","Args",":","other",":","The","other","object",".","Returns",":","`","True","`","when","the","other","object","is","a","`","Feature","`","and","has","the","same","type",",","attribute",",","and","feature","tensors","."]
code: def __eq__(self, other: Any) -> bool:
      """Tests if the `self` `Feature` equals to the `other`.
  
      Args:
          other: The other object.
  
      Returns:
          `True` when the other object is a `Feature` and has the same
          type, attribute, and feature tensors.
      """
      if not isinstance(other, Features):
          return False
  
      return (
          other.type == self.type
          and other.attribute == self.attribute
          and other.features == self.features
      )
  
imports: from __future__ import annotations
  from typing import Iterable, Union, Text, Optional, List, Any, Tuple, Dict, Set
  import itertools
  import numpy
  import scipy.sparse
  import rasa.shared.utils.io
  import rasa.shared.nlu.training_data.util
  from rasa.shared.nlu.constants import FEATURE_TYPE_SEQUENCE, FEATURE_TYPE_SENTENCE
label_desc: Use image node_id 10 for calling the Features obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, False