class_docstr: ```
  Wrapper for Transformer datasets.
  ```
class_docstr_tok: ["``","`","Wrapper","for","Transformer","datasets",".","``","`"]
code: def xshape(self):
      return (len(self.x), self.x[0].shape[1])
  
file_path: ktrain/ktrain/text/dataset.py
imports: from ..dataset import SequenceDataset
  from ..imports import *
label_desc: Use image node_id 8 for calling the TransformerDataset obj's underlying member method code with example usage: obj.xshape() and returns: len,  self