tensorflow:: ops:: PaddingFIFOQueue:: Attrs

#include <data_flow_ops.h>

Optional attribute setters for PaddingFIFOQueue .

Summary

Public attributes

capacity_ = -1
int64
container_ = ""
StringPiece
shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
shared_name_ = ""
StringPiece

Public functions

Capacity (int64 x)
TF_MUST_USE_RESULT Attrs
The upper bound on the number of elements in this queue.
Container (StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this queue is placed in the given container.
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
The shape of each component in a value.
SharedName (StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this queue will be shared under the given name across multiple sessions.

Public attributes

capacity_

int64 tensorflow::ops::PaddingFIFOQueue::Attrs::capacity_ = -1

container_

StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::container_ = ""

shapes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::PaddingFIFOQueue::Attrs::shapes_ = {}

shared_name_

StringPiece tensorflow::ops::PaddingFIFOQueue::Attrs::shared_name_ = ""

Public functions

Capacity

TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Capacity(
  int64 x
)

The upper bound on the number of elements in this queue.

Negative numbers mean no limit.

Defaults to -1

Container

TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Container(
  StringPiece x
)

If non-empty, this queue is placed in the given container.

Otherwise, a default container is used.

Defaults to ""

Shapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

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.

Defaults to []

SharedName

TF_MUST_USE_RESULT Attrs tensorflow::ops::PaddingFIFOQueue::Attrs::SharedName(
  StringPiece x
)

If non-empty, this queue will be shared under the given name across multiple sessions.

Defaults to ""