class_docstr: `SEMEION <http://archive.ics.uci.edu/ml/datasets/semeion+handwritten+digit>`_ Dataset.
  
  Args:
      root (string): Root directory of dataset where directory
          ``semeion.py`` exists.
      transform (callable, optional): A function/transform that takes in a PIL image
          and returns a transformed version. E.g, ``transforms.RandomCrop``
      target_transform (callable, optional): A function/transform that takes in the
          target and transforms it.
      download (bool, optional): If true, downloads the dataset from the internet and
          puts it in root directory. If dataset is already downloaded, it is not
          downloaded again.
class_docstr_tok: ["`","SEMEION","<","http",":","\/\/archive.ics.uci.edu\/ml\/datasets\/semeion+handwritten+digit",">","`","_","Dataset",".","Args",":","root","(","string",")",":","Root","directory","of","dataset","where","directory","``","semeion.py","``","exists",".","transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","a","PIL","image","and","returns","a","transformed","version",".","E.g",",","``","transforms.RandomCrop","``","target_transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","the","target","and","transforms","it",".","download","(","bool",",","optional",")",":","If","true",",","downloads","the","dataset","from","the","internet","and","puts","it","in","root","directory",".","If","dataset","is","already","downloaded",",","it","is","not","downloaded","again","."]
code: def __len__(self) -> int:
      return len(self.data)
  
file_path: vision/torchvision/datasets/semeion.py
imports: import os.path
  from typing import Any, Callable, Optional, Tuple
  import numpy
  from PIL import Image
  from .utils import check_integrity, download_url
  from .vision import VisionDataset
label_desc: Use image node_id 3 for calling the SEMEION obj's underlying member method code with example usage: obj.__len__() and returns: len