class_docstr: Subset of a dataset at specified indices.
  
  Args:
      dataset (Dataset): The whole Dataset
      indices (sequence): Indices in the whole set selected for subset
class_docstr_tok: ["Subset","of","a","dataset","at","specified","indices",".","Args",":","dataset","(","Dataset",")",":","The","whole","Dataset","indices","(","sequence",")",":","Indices","in","the","whole","set","selected","for","subset"]
code: def __len__(self):
      return len(self.indices)
  
imports: import bisect
  import itertools
  import math
  import warnings
  from typing import cast, Dict, Generic, Iterable, List, Optional, Sequence, Tuple, TypeVar, Union
  from torch import default_generator, randperm
  from ...None import Generator, Tensor
label_desc: Use image node_id 4 for calling the Subset obj's underlying member method code with example usage: obj.__len__() and returns: len