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

Public Member Functions

def __init__ (self, content)
def setup_ex (self, init_net, exit_net)
def write (self, writer_net, fields)
def commit (self, finish_net)
- Public Member Functions inherited from caffe2.python.dataio.Writer
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)

Public Attributes


Detailed Description

Definition at line 124 of file

Constructor & Destructor Documentation

def caffe2.python.dataset._DatasetWriter.__init__ (   self,
Don't call this directly. Use dataset.writer() instead.

Definition at line 125 of file

Member Function Documentation

def caffe2.python.dataset._DatasetWriter.commit (   self,
Commit is a no-op for an in-memory dataset.

Definition at line 154 of file

def caffe2.python.dataset._DatasetWriter.write (   self,
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.

    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

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