tensorflow::ops::PaddingFIFOQueue

#include <data_flow_ops.h>

A queue that produces elements in first-in first-out order.

Summary

Variable-size shapes are allowed by setting the corresponding shape dimensions to 0 in the shape attr. In this case DequeueMany will pad up to the maximum size of any given element in the minibatch. See below for details.

Arguments:

  • scope: A Scope object
  • component_types: The type of each component in a value.

Optional attributes (see Attrs):

  • shapes: The shape of each component in a value. The length of this attr must be either 0 or the same as the length of component_types. Shapes of fixed rank but variable size are allowed by setting any shape dimension to -1. In this case, the inputs' shape may vary along the given dimension, and DequeueMany will pad the given dimension with zeros up to the maximum shape of all elements in the given batch. If the length of this attr is 0, different queue elements may have different ranks and shapes, but only one element may be dequeued at a time.
  • capacity: The upper bound on the number of elements in this queue. Negative numbers mean no limit.
  • container: If non-empty, this queue is placed in the given container. Otherwise, a default container is used.
  • shared_name: If non-empty, this queue will be shared under the given name across multiple sessions.

Returns:

  • Output: The handle to the queue.

Constructors and Destructors

PaddingFIFOQueue(const ::tensorflow::Scope & scope, const DataTypeSlice & component_types)
PaddingFIFOQueue(const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const PaddingFIFOQueue::Attrs & attrs)

Public attributes

handle

Public functions

node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public static functions

Capacity(int64 x)
Container(StringPiece x)
Shapes(const gtl::ArraySlice< TensorShape > & x)
SharedName(StringPiece x)

Structs

tensorflow::ops::PaddingFIFOQueue::Attrs

Optional attribute setters for PaddingFIFOQueue.

Public attributes

handle

::tensorflow::Output handle

Public functions

PaddingFIFOQueue

 PaddingFIFOQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types
)

PaddingFIFOQueue

 PaddingFIFOQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types,
  const PaddingFIFOQueue::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

Capacity

Attrs Capacity(
  int64 x
)

Container

Attrs Container(
  StringPiece x
)

Shapes

Attrs Shapes(
  const gtl::ArraySlice< TensorShape > & x
)

SharedName

Attrs SharedName(
  StringPiece x
)