class_docstr: :class:`DecisionTreeDataset` is based on :class:`~recbole.data.dataset.dataset.Dataset`,
  and
  
  Attributes:
docstr: Convert the data of token type to hash form
docstr_tok: ["Convert","the","data","of","token","type","to","hash","form"]
code: def _convert_token_to_hash(self):
      """Convert the data of token type to hash form"""
      self.hash_map = {}
      self.hash_count = {}
      self.convert_col_list = []
      if self.config["convert_token_to_onehot"]:
          for feat_name in ["inter_feat", "user_feat", "item_feat"]:
              feat = getattr(self, feat_name)
              if feat is not None:
                  feat = self._judge_token_and_convert(feat)
              setattr(self, feat_name, feat)
  
file_path: RecBole/recbole/data/dataset/decisiontree_dataset.py
imports: from recbole.data.dataset import Dataset
  from recbole.utils import FeatureType
label_desc: Use image node_id 3 for calling the DecisionTreeDataset obj's underlying member method code with example usage: obj._convert_token_to_hash() without return types