W3cubDocs

/TensorFlow C++

tensorflow::ops::OrderedMapStage

#include <data_flow_ops.h>

Stage (key, values) in the underlying container which behaves like a ordered.

Summary

associative container. Elements are ordered by key.

Arguments:

  • scope: A Scope object
  • key: int64
  • 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.
  • 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
OrderedMapStage(const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes)
OrderedMapStage(const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes, const OrderedMapStage::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::OrderedMapStage::Attrs

Optional attribute setters for OrderedMapStage.

Public attributes

operation

Operation operation

Public functions

OrderedMapStage

 OrderedMapStage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input key,
  ::tensorflow::Input indices,
  ::tensorflow::InputList values,
  const DataTypeSlice & dtypes
)

OrderedMapStage

 OrderedMapStage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input key,
  ::tensorflow::Input indices,
  ::tensorflow::InputList values,
  const DataTypeSlice & dtypes,
  const OrderedMapStage::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
)

© 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/class/tensorflow/ops/ordered-map-stage.html