class_docstr: USPS Dataset
  homepage="https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/multiclass.html#usps",
class_docstr_tok: ["USPS","Dataset","homepage=","''","https",":","\/\/www.csie.ntu.edu.tw\/~cjlin\/libsvmtools\/datasets\/multiclass.html","#","usps","''",","]
code: def _datapipe(
      self, resource_dps: List[IterDataPipe]
  ) -> IterDataPipe[Dict[str, Any]]:
      dp = Decompressor(resource_dps[0])
      dp = LineReader(dp, decode=True, return_path=False)
      dp = hint_shuffling(dp)
      dp = hint_sharding(dp)
      return Mapper(dp, self._prepare_sample)
  
file_path: vision/torchvision/prototype/datasets/_builtin/usps.py
imports: import pathlib
  from typing import Any, Dict, List, Union
  import torch
  from torchdata.datapipes.iter import Decompressor, IterDataPipe, LineReader, Mapper
  from torchvision.prototype.datasets.utils import Dataset, HttpResource, OnlineResource
  from torchvision.prototype.datasets.utils._internal import hint_sharding, hint_shuffling
  from torchvision.prototype.tv_tensors import Label
  from torchvision.tv_tensors import Image
  from .._api import register_dataset, register_info
label_desc: Use image node_id 4 for calling the USPS obj's underlying member method code with example usage: obj._datapipe(resource_dps) and returns: Mapper