Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
caffe2.python.dataset._DatasetRandomReader Class Reference
Inheritance diagram for caffe2.python.dataset._DatasetRandomReader:
caffe2.python.dataio.Reader

Public Member Functions

def __init__ (self, dataset, name, indices, batch_size=1, loop_over=False, enforce_batch_size=False)
 
def setup_ex (self, init_net, exit_net)
 
def reset (self, net)
 
def computeoffset (self, net)
 
def sort_and_shuffle (self, net, sort_by_field=None, shuffle_size=1, batch_size=1)
 
def read (self, read_net)
 
- Public Member Functions inherited from caffe2.python.dataio.Reader
def __init__ (self, schema=None)
 
def schema (self)
 
def setup_ex (self, init_net, finish_net)
 
def read_ex (self, local_init_net, local_finish_net)
 
def read_record_ex (self, local_init_net, local_finish_net)
 
def read (self, read_net)
 
def reset (self, net)
 
def read_record (self, read_net)
 
def execution_step (self, reader_net_name=None, external_should_stop=None)
 

Public Attributes

 dataset
 
 cursor
 
 name
 
 indices
 
 batch_size
 
 loop_over
 
 enforce_batch_size
 
 offsets
 

Detailed Description

Definition at line 74 of file dataset.py.

Constructor & Destructor Documentation

def caffe2.python.dataset._DatasetRandomReader.__init__ (   self,
  dataset,
  name,
  indices,
  batch_size = 1,
  loop_over = False,
  enforce_batch_size = False 
)
Don't call this directly. Instead, use dataset.random_reader()

Definition at line 76 of file dataset.py.


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