tensorflow::ops::MapStage
#include <data_flow_ops.h>
Stage (key, values) in the underlying container which behaves like a hashtable.
Summary
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:
- the created
Operation
Constructors and Destructors | |
---|---|
MapStage(const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes) | |
MapStage(const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes, const MapStage::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::MapStage::Attrs | Optional attribute setters for MapStage. |
Public attributes
operation
Operation operation
Public functions
MapStage
MapStage( const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes )
MapStage
MapStage( const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, ::tensorflow::InputList values, const DataTypeSlice & dtypes, const MapStage::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 )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/map-stage