tensorflow::ops::Stage

#include <data_flow_ops.h>

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.

Arguments:

  • scope: A Scope object
  • values: a list of tensors dtypes A list of data types that inserted values should adhere to.

Optional attributes (see Attrs):

  • capacity: 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 Op.

Returns:

Constructors and Destructors

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

Public attributes

operation

Public functions

operator::tensorflow::Operation() const

Public static functions

Capacity(int64 x)
Container(StringPiece x)
MemoryLimit(int64 x)
SharedName(StringPiece x)

Structs

tensorflow::ops::Stage::Attrs

Optional attribute setters for 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
)