class_docstr: *YesNo* :cite:`YesNo` dataset.
  
  Args:
      root (str or Path): Path to the directory where the dataset is found or downloaded.
      url (str, optional): The URL to download the dataset from.
          (default: ``"http://www.openslr.org/resources/1/waves_yesno.tar.gz"``)
      folder_in_archive (str, optional):
          The top-level directory of the dataset. (default: ``"waves_yesno"``)
      download (bool, optional):
          Whether to download the dataset if it is not found at root path. (default: ``False``).
class_docstr_tok: ["*","YesNo","*",":","cite",":","`","YesNo","`","dataset",".","Args",":","root","(","str","or","Path",")",":","Path","to","the","directory","where","the","dataset","is","found","or","downloaded",".","url","(","str",",","optional",")",":","The","URL","to","download","the","dataset","from",".","(","default",":","``","``","http",":","\/\/www.openslr.org\/resources\/1\/waves_yesno.tar.gz","''","``",")","folder_in_archive","(","str",",","optional",")",":","The","top-level","directory","of","the","dataset",".","(","default",":","``","``","waves_yesno","''","``",")","download","(","bool",",","optional",")",":","Whether","to","download","the","dataset","if","it","is","not","found","at","root","path",".","(","default",":","``","False","``",")","."]
docstr: Load the n-th sample from the dataset.
  
  Args:
      n (int): The index of the sample to be loaded
  
  Returns:
      Tuple of the following items;
  
      Tensor:
          Waveform
      int:
          Sample rate
      List[int]:
          labels
docstr_tok: ["Load","the","n-th","sample","from","the","dataset",".","Args",":","n","(","int",")",":","The","index","of","the","sample","to","be","loaded","Returns",":","Tuple","of","the","following","items",";","Tensor",":","Waveform","int",":","Sample","rate","List","[","int","]",":","labels"]
code: def __getitem__(self, n: int) -> Tuple[Tensor, int, List[int]]:
      """Load the n-th sample from the dataset.
  
      Args:
          n (int): The index of the sample to be loaded
  
      Returns:
          Tuple of the following items;
  
          Tensor:
              Waveform
          int:
              Sample rate
          List[int]:
              labels
      """
      fileid = self._walker[n]
      item = self._load_item(fileid, self._path)
      return item
  
file_path: audio/src/torchaudio/datasets/yesno.py
imports: import os
  from pathlib import Path
  from typing import List, Tuple, Union
  import torchaudio
  from torch import Tensor
  from torch.utils.data import Dataset
  from torchaudio._internal import download_url_to_file
  from torchaudio.datasets.utils import _extract_tar
label_desc: Use image node_id 4 for calling the YESNO obj's underlying member method code with example usage: obj.__getitem__(n) and returns: item