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

Public Member Functions

def __init__ (self, fields, name=None, capacity=1, enforce_unique_name=False, num_threads=1)
def build (self, reader, process=None)

Public Attributes


Detailed Description

The class is used to feed data with some process from a reader into a
    queue and provider a reader interface for data fetching from the queue.

Definition at line 63 of file

Member Function Documentation

def (   self,
  process = None 
Build the producer_step to feed data from reader into the queue, and
return the reader interface.
    reader:           read data which will be stored in the queue.
    process:          preprocess data before enqueue.
    reader:           reader to fetch the data from the queue.
    producer_step:    the step insert the data into the queue. Should be
              run with comsume_step together.
    exit_step:        the step to close queue
    schema:           the schema for the reader.

Definition at line 95 of file

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