# tensorflow::ops::PaddingFIFOQueue::Attrs

`#include <data_flow_ops.h>`

Optional attribute setters for [PaddingFIFOQueue](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/padding-f-i-f-o-queue#classtensorflow_1_1ops_1_1_padding_f_i_f_o_queue).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4f3d638a9ca754c89d42d2eba51d695d = -1` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1abbdf45e1046ad7f88ff4affee8a46c61 = ""` | `StringPiece` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a3b2834168ccf43cf2e88e937a57e25a2 = {}` | `gtl::ArraySlice< PartialTensorShape >` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4049c026c1262b7411d61a0af36660c3 = ""` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a37b197e3528b7d7f8c8203b12e954701(int64 x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs` The upper bound on the number of elements in this queue. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1ae869c780a3baabe5b04cbee60e17b35e(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs` If non-empty, this queue is placed in the given container. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1ab5518933cf19c007b1bb4ba142200a63(const gtl::ArraySlice< PartialTensorShape > & x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs` The shape of each component in a value. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_attrs_1a4ad3be8f42b64182901f8843d58b0a0b(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/padding-f-i-f-o-queue/attrs#structtensorflow_1_1ops_1_1_padding_f_i_f_o_queue_1_1_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 ""