LostTech.TensorFlow : API Documentation

Type QueueRunner

Namespace tensorflow.train

Parent PythonObjectContainer

Interfaces IQueueRunner

Holds a list of enqueue operations for a queue, each to be run in a thread.

Queues are a convenient TensorFlow mechanism to compute tensors asynchronously using multiple threads. For example in the canonical 'Input Reader' setup one set of threads generates filenames in a queue; a second set of threads read records from the files, processes them, and enqueues tensors on a second queue; a third set of threads dequeues these input records to construct batches and runs them through training operations.

There are several delicate issues when running multiple threads that way: closing the queues in sequence as the input is exhausted, correctly catching and reporting exceptions, etc.

The `QueueRunner`, combined with the `Coordinator`, helps handle these issues.

Properties

Public properties

object cancel_op get;

object cancel_op_dyn get;

object close_op get;

object close_op_dyn get;

IList<object> enqueue_ops get;

object enqueue_ops_dyn get;

IList<Exception> exceptions_raised get;

object exceptions_raised_dyn get;

object name get;

object name_dyn get;

object PythonObject get;

object queue get;

Nullable<ValueTuple<PythonClassContainer>> queue_closed_exception_types get;

object queue_closed_exception_types_dyn get;

object queue_dyn get;