Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
torch.utils.data.sampler.BatchSampler Class Reference
Inheritance diagram for torch.utils.data.sampler.BatchSampler:
torch.utils.data.sampler.Sampler

Public Member Functions

def __init__ (self, sampler, batch_size, drop_last)
 
def __iter__ (self)
 
def __len__ (self)
 
- Public Member Functions inherited from torch.utils.data.sampler.Sampler
def __init__ (self, data_source)
 
def __iter__ (self)
 
def __len__ (self)
 

Public Attributes

 sampler
 
 batch_size
 
 drop_last
 

Detailed Description

Definition at line 136 of file sampler.py.


The documentation for this class was generated from the following file: