Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::MapStage
#include <data_flow_ops.h>
Stage (key, values) in the underlying container which behaves like a hashtable.
Summary
Args:
- 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:
Public attributes
Public functions
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
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::MapStage Class Reference\n\ntensorflow::ops::MapStage\n=========================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\n[Stage](/api_docs/cc/class/tensorflow/ops/stage#classtensorflow_1_1ops_1_1_stage) (key, values) in the underlying container which behaves like a hashtable.\n\nSummary\n-------\n\nArgs:\n\n- scope: A [Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- key: int64\n- values: a list of tensors dtypes A list of data types that inserted values should adhere to.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs)):\n\n- capacity: [Maximum](/api_docs/cc/class/tensorflow/ops/maximum#classtensorflow_1_1ops_1_1_maximum) number of elements in the Staging Area. If \\\u003e 0, inserts on the container will block when the capacity is reached.\n- container: If non-empty, this queue is placed in the given container. Otherwise, a default container is used.\n- shared_name: It is necessary to match this name to the matching [Unstage](/api_docs/cc/class/tensorflow/ops/unstage#classtensorflow_1_1ops_1_1_unstage) Op.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MapStage](#classtensorflow_1_1ops_1_1_map_stage_1a96efde41d66d5902db410cc77b352ad3)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, ::`[tensorflow::InputList](/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` values, const DataTypeSlice & dtypes)` ||\n| [MapStage](#classtensorflow_1_1ops_1_1_map_stage_1a41b5cfe02a707042d3c3c881eda36739)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, ::`[tensorflow::InputList](/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` values, const DataTypeSlice & dtypes, const `[MapStage::Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_map_stage_1ac38d712101aa6817d18caba2579b3895) | [Operation](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|---|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_map_stage_1a7c0f17fb6d8fa767634c7740d900cac7)`() const ` | |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [Capacity](#classtensorflow_1_1ops_1_1_map_stage_1a0070decd553e9628b3eb3289a5f093ef)`(int64 x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs) |\n| [Container](#classtensorflow_1_1ops_1_1_map_stage_1a2eb61fff7f17f8691d32bcce4849b123)`(StringPiece x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs) |\n| [MemoryLimit](#classtensorflow_1_1ops_1_1_map_stage_1add9bf6cbb8002f22906c0a4b0014fc10)`(int64 x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_map_stage_1a64188fec364335793fa9c2ddbc6ce7fa)`(StringPiece x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs#structtensorflow_1_1ops_1_1_map_stage_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::MapStage::Attrs](/api_docs/cc/struct/tensorflow/ops/map-stage/attrs) | Optional attribute setters for [MapStage](/api_docs/cc/class/tensorflow/ops/map-stage#classtensorflow_1_1ops_1_1_map_stage). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### MapStage\n\n```gdscript\n MapStage(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n ::tensorflow::InputList values,\n const DataTypeSlice & dtypes\n)\n``` \n\n### MapStage\n\n```gdscript\n MapStage(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n ::tensorflow::InputList values,\n const DataTypeSlice & dtypes,\n const MapStage::Attrs & attrs\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n``` \n\nPublic static functions\n-----------------------\n\n### Capacity\n\n```text\nAttrs Capacity(\n int64 x\n)\n``` \n\n### Container\n\n```text\nAttrs Container(\n StringPiece x\n)\n``` \n\n### MemoryLimit\n\n```text\nAttrs MemoryLimit(\n int64 x\n)\n``` \n\n### SharedName\n\n```text\nAttrs SharedName(\n StringPiece x\n)\n```"]]