Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::MapPeek
#include <data_flow_ops.h>
Op peeks at the values at the specified key.
Summary
If the
underlying container does not contain this key this op will block until it does.
Args:
Returns:
OutputList
: The values tensor.
Public attributes
Public functions
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::MapPeek Class Reference\n\ntensorflow::ops::MapPeek\n========================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOp peeks at the values at the specified key.\n\nSummary\n-------\n\nIf the\n\nunderlying container does not contain this key this op will block until it does.\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- `OutputList`: The values tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MapPeek](#classtensorflow_1_1ops_1_1_map_peek_1aaba336678cb71ff7a83374e34dfbec95)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, const DataTypeSlice & dtypes)` ||\n| [MapPeek](#classtensorflow_1_1ops_1_1_map_peek_1aa21b3f4cd0a135aa4f4fd922a1de9c5a)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, const DataTypeSlice & dtypes, const `[MapPeek::Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs#structtensorflow_1_1ops_1_1_map_peek_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_map_peek_1a21d139e51ea7726007f77e1e02758697) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [values](#classtensorflow_1_1ops_1_1_map_peek_1a5e19050900926c7f7bf34218e3c77830) | `::`[tensorflow::OutputList](/versions/r2.14/api_docs/cc/group/core#group__core_1gab449e6a3abd500c2f4ea93f9e89ba96c) |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operator[]](#classtensorflow_1_1ops_1_1_map_peek_1a6378019d756a6ecff65fe2c3763a41bf)`(size_t index) const ` | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [Capacity](#classtensorflow_1_1ops_1_1_map_peek_1a5a8f5fa44a942e9302829cd80884800f)`(int64 x)` | [Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs#structtensorflow_1_1ops_1_1_map_peek_1_1_attrs) |\n| [Container](#classtensorflow_1_1ops_1_1_map_peek_1ad5a48c98eefb8785e763732fb086cf95)`(StringPiece x)` | [Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs#structtensorflow_1_1ops_1_1_map_peek_1_1_attrs) |\n| [MemoryLimit](#classtensorflow_1_1ops_1_1_map_peek_1a74165d2886ad1b0555b198b6002b3b11)`(int64 x)` | [Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs#structtensorflow_1_1ops_1_1_map_peek_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_map_peek_1ac6399b1d5451c4ada764385d1f1bb4b1)`(StringPiece x)` | [Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs#structtensorflow_1_1ops_1_1_map_peek_1_1_attrs) |\n\n| ### Structs ||\n|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::MapPeek::Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/map-peek/attrs) | Optional attribute setters for [MapPeek](/versions/r2.14/api_docs/cc/class/tensorflow/ops/map-peek#classtensorflow_1_1ops_1_1_map_peek). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### values\n\n```text\n::tensorflow::OutputList values\n``` \n\nPublic functions\n----------------\n\n### MapPeek\n\n```gdscript\n MapPeek(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n const DataTypeSlice & dtypes\n)\n``` \n\n### MapPeek\n\n```gdscript\n MapPeek(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n const DataTypeSlice & dtypes,\n const MapPeek::Attrs & attrs\n)\n``` \n\n### operator\\[\\]\n\n```gdscript\n::tensorflow::Output operator[](\n size_t index\n) 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```"]]