class_docstr: Dataset class for classifiers from Pytorch Integration.
      
docstr: Returns the internal list of tuples storing the data.
  
  Returns
  -------
  data : list of tuples (text data [Tensor], label)
      Vocab object.
docstr_tok: ["Returns","the","internal","list","of","tuples","storing","the","data",".","Returns","--","--","--","-","data",":","list","of","tuples","(","text","data","[","Tensor","]",",","label",")","Vocab","object","."]
code: def data(self):
      """Returns the internal list of tuples storing the data.
  
      Returns
      -------
      data : list of tuples (text data [Tensor], label)
          Vocab object.
      """
      return self._data
  
imports: import torch
  import numpy
  from abc import ABC, abstractmethod
  from scipy.sparse import csr_matrix
  from small_text.base import LABEL_UNLABELED
  from small_text.data import DatasetView
  from small_text.data.datasets import check_size, check_target_labels, get_updated_target_labels
  from small_text.data.exceptions import UnsupportedOperationException
  from small_text.utils.annotations import experimental
  from small_text.utils.labels import csr_to_list, get_num_labels, list_to_csr
label_desc: Use image node_id 8 for calling the PytorchTextClassificationDataset obj's underlying member method code with example usage: obj.data() and returns: self