#include <data_flow_ops.h>
Optional attribute setters for MapStage.
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 Defaults to 0. |
SharedName(StringPiece x) | TF_MUST_USE_RESULT Attrs It is necessary to match this name to the matching Unstage Op. |
int64 tensorflow::ops::MapStage::Attrs::capacity_ = 0
StringPiece tensorflow::ops::MapStage::Attrs::container_ = ""
int64 tensorflow::ops::MapStage::Attrs::memory_limit_ = 0
StringPiece tensorflow::ops::MapStage::Attrs::shared_name_ = ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::MapStage::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
TF_MUST_USE_RESULT Attrs tensorflow::ops::MapStage::Attrs::Container( StringPiece x )
If non-empty, this queue is placed in the given container.
Otherwise, a default container is used.
Defaults to ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::MapStage::Attrs::MemoryLimit( int64 x )
Defaults to 0.
TF_MUST_USE_RESULT Attrs tensorflow::ops::MapStage::Attrs::SharedName( StringPiece x )
It is necessary to match this name to the matching Unstage Op.
Defaults to ""
© 2018 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/map-stage/attrs.html