# tensorflow::ops::Stage

`#include <data_flow_ops.h>`

[Stage](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage) values similar to a lightweight Enqueue.

## Summary

The basic functionality of this Op is similar to a queue with many fewer capabilities and options. This Op is optimized for performance.

Args:

- scope: A [Scope](https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- values: a list of tensors dtypes A list of data types that inserted values should adhere to.

<br />

Optional attributes (see `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs`):

- capacity: [Maximum](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/maximum#classtensorflow_1_1ops_1_1_maximum) number of elements in the Staging Area. If \> 0, inserts on the container will block when the capacity is reached.
- memory_limit: The maximum number of bytes allowed for Tensors in the Staging Area. If \> 0, inserts will block until sufficient space is available.
- container: If non-empty, this queue is placed in the given container. Otherwise, a default container is used.
- shared_name: It is necessary to match this name to the matching [Unstage](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/unstage#classtensorflow_1_1ops_1_1_unstage) Op.

<br />

Returns:

- the created `https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation`

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1a2e6dddeaa815c5474e05e750d6e386bd(const ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list values)` ||
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1a15dff0cc88976331c3c77a3cca8f8ac5(const ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list values, const https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs & attrs)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1a9b9eb57d3e297f80b61856f1b299118d` | `https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1ab21fa3ef760d64ed97217cb2121990c0() const ` |   |

| ### Public static functions ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1ac904517f73b2d8d7319ae4283f32b803(int64 x)` | `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs` |
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1ad5b1a9624677491e271d10594f568223(StringPiece x)` | `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs` |
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1af4e300d7df49830d41d0eba7b35d1ccd(int64 x)` | `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs` |
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage_1a5a7ee7353ea1bc8416645b9e9568ce68(StringPiece x)` | `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs#structtensorflow_1_1ops_1_1_stage_1_1_attrs` |

| ### Structs ||
|---|---|
| [tensorflow::ops::Stage::Attrs](https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs) | Optional attribute setters for [Stage](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage). |

## Public attributes

### operation

```
Operation operation
```

## Public functions

### Stage

```
 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values
)
```

### Stage

```
 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values,
  const Stage::Attrs & attrs
)
```

### operator::tensorflow::Operation

```
 operator::tensorflow::Operation() const 
```

## Public static functions

### Capacity

```
Attrs Capacity(
  int64 x
)
```

### Container

```
Attrs Container(
  StringPiece x
)
```

### MemoryLimit

```
Attrs MemoryLimit(
  int64 x
)
```

### SharedName

```
Attrs SharedName(
  StringPiece x
)
```