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