tensorflow::ops::Stage::Attrs

#include <data_flow_ops.h>

Optional attribute setters for Stage.

Summary

Public attributes

capacity_ = 0
int64
container_ = ""
StringPiece
memory_limit_ = 0
int64
shared_name_ = ""
StringPiece

Public functions

Capacity(int64 x)
TF_MUST_USE_RESULT Attrs
Maximum number of elements in the Staging Area.
Container(StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this queue is placed in the given container.
MemoryLimit(int64 x)
TF_MUST_USE_RESULT Attrs
The maximum number of bytes allowed for Tensors in the Staging Area.
SharedName(StringPiece x)
TF_MUST_USE_RESULT Attrs
It is necessary to match this name to the matching Unstage Op.

Public attributes

capacity_

int64 tensorflow::ops::Stage::Attrs::capacity_ = 0

container_

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

memory_limit_

int64 tensorflow::ops::Stage::Attrs::memory_limit_ = 0

shared_name_

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

Public functions

Capacity

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

Maximum number of elements in the Staging Area.

If > 0, inserts on the container will block when the capacity is reached.

Defaults to 0

Container

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

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

Otherwise, a default container is used.

Defaults to ""

MemoryLimit

TF_MUST_USE_RESULT Attrs tensorflow::ops::Stage::Attrs::MemoryLimit(
  int64 x
)

The maximum number of bytes allowed for Tensors in the Staging Area.

If > 0, inserts will block until sufficient space is available.

Defaults to 0

SharedName

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

It is necessary to match this name to the matching Unstage Op.

Defaults to ""