code: def iters(
      cls,
      batch_size=32,
      root=".data",
      memory_size=50,
      task=1,
      joint=False,
      tenK=False,
      only_supporting=False,
      sort=False,
      shuffle=False,
      device=None,
      **kwargs,
  ):
      text = BABI20Field(memory_size)
      train, val, test = BABI20.splits(
          text,
          root=root,
          task=task,
          joint=joint,
          tenK=tenK,
          only_supporting=only_supporting,
          **kwargs,
      )
      text.build_vocab(train)
      return Iterator.splits(
          (train, val, test),
          batch_size=batch_size,
          sort=sort,
          shuffle=shuffle,
          device=device,
      )
  
file_path: pytext/pytext/legacy/datasets/babi.py
imports: import os
  from io import open
  import torch
  from ..data import Dataset, Example, Field, Iterator
label_desc: Use image node_id 4 for calling the BABI20 obj's underlying member method code with example usage: obj.iters(cls, batch_size, root, memory_size, task, joint, tenK, only_supporting, sort, shuffle, device) and returns: Iterator