|
def | __init__ (self, content) |
|
def | setup_ex (self, init_net, exit_net) |
|
def | write (self, writer_net, fields) |
|
def | commit (self, finish_net) |
|
def | schema (self) |
|
def | write (self, writer_net, fields) |
|
def | write_record (self, writer_net, fields) |
|
def | setup_ex (self, init_net, finish_net) |
|
def | write_ex (self, fields, local_init_net, local_finish_net, stop_blob) |
|
def | write_record_ex (self, fields, local_init_net, local_finish_net, stop_blob=None) |
|
def | commit (self, finish_net) |
|
Definition at line 124 of file dataset.py.
def caffe2.python.dataset._DatasetWriter.__init__ |
( |
|
self, |
|
|
|
content |
|
) |
| |
Don't call this directly. Use dataset.writer() instead.
Definition at line 125 of file dataset.py.
def caffe2.python.dataset._DatasetWriter.commit |
( |
|
self, |
|
|
|
finish_net |
|
) |
| |
Commit is a no-op for an in-memory dataset.
Definition at line 154 of file dataset.py.
def caffe2.python.dataset._DatasetWriter.write |
( |
|
self, |
|
|
|
writer_net, |
|
|
|
fields |
|
) |
| |
Add operations to `net` that append the blobs in `fields` to the end
of the dataset. An additional operator will also be added that checks
the consistency of the data in `fields` against the dataset schema.
Args:
writer_net: The net that will contain the Append operators.
fields: A list of BlobReference to be appeneded to this dataset.
Definition at line 134 of file dataset.py.
The documentation for this class was generated from the following file: