|
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) |
|
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) |
|
|
| dataset |
|
| cursor |
|
| name |
|
| indices |
|
| batch_size |
|
| loop_over |
|
| enforce_batch_size |
|
| offsets |
|
Definition at line 58 of file dataset.py.
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 60 of file dataset.py.
The documentation for this class was generated from the following file: