W3cubDocs

/TensorFlow C++

tensorflow::ops::MapStage::Attrs

#include <data_flow_ops.h>

Optional attribute setters for MapStage.

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)
Defaults to 0.
SharedName(StringPiece x)
It is necessary to match this name to the matching Unstage Op.

Public attributes

capacity_

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

container_

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

memory_limit_

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

shared_name_

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

Public functions

Capacity

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

Container

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 ""

MemoryLimit

Attrs tensorflow::ops::MapStage::Attrs::MemoryLimit(
  int64 x
)

Defaults to 0.

SharedName

Attrs tensorflow::ops::MapStage::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/map-stage/attrs.html