W3cubDocs

/TensorFlow C++

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)
Maximum number of elements in the Staging Area.
Container(StringPiece x)
If non-empty, this queue is placed in the given container.
MemoryLimit(int64 x)
The maximum number of bytes allowed for Tensors in the Staging Area.
SharedName(StringPiece x)
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

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

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

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

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

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

Defaults to ""

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/stage/attrs.html