جریان تنسور:: عملیات:: سفارش داده شده MapPeek
#include <data_flow_ops.h>
Op به مقادیر موجود در کلید مشخص شده نگاه می کند.
خلاصه
اگر
ظرف زیرین حاوی این کلید نیست. این عملیات برای عملکرد بهینه شده است.
استدلال ها:
- scope: یک شی Scope
برمی گرداند:
-
OutputList
: تانسور مقادیر.
سازندگان و ویرانگرها | |
---|---|
OrderedMapPeek (const :: tensorflow::Scope & scope, :: tensorflow::Input key, :: tensorflow::Input indices, const DataTypeSlice & dtypes) | |
OrderedMapPeek (const :: tensorflow::Scope & scope, :: tensorflow::Input key, :: tensorflow::Input indices, const DataTypeSlice & dtypes, const OrderedMapPeek::Attrs & attrs) |
صفات عمومی | |
---|---|
operation | |
values |
توابع عمومی | |
---|---|
operator[] (size_t index) const |
توابع استاتیک عمومی | |
---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
MemoryLimit (int64 x) | |
SharedName (StringPiece x) |
سازه ها | |
---|---|
tensorflow:: ops:: OrderedMapPeek:: Attrs | تنظیم کننده ویژگی اختیاری برای OrderedMapPeek . |
صفات عمومی
عملیات
Operation operation
ارزش ها
::tensorflow::OutputList values
توابع عمومی
سفارش داده شده MapPeek
OrderedMapPeek( const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, const DataTypeSlice & dtypes )
سفارش داده شده MapPeek
OrderedMapPeek( const ::tensorflow::Scope & scope, ::tensorflow::Input key, ::tensorflow::Input indices, const DataTypeSlice & dtypes, const OrderedMapPeek::Attrs & attrs )
اپراتور[]
::tensorflow::Output operator[]( size_t index ) const
توابع استاتیک عمومی
ظرفیت
Attrs Capacity( int64 x )
ظرف
Attrs Container( StringPiece x )
MemoryLimit
Attrs MemoryLimit( int64 x )
SharedName
Attrs SharedName( StringPiece x )
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# tensorflow::ops::OrderedMapPeek Class Reference\n\ntensorflow::ops::OrderedMapPeek\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. This Op is optimized for performance.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/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| [OrderedMapPeek](#classtensorflow_1_1ops_1_1_ordered_map_peek_1a7369b657806eaeb6625d30e025df00a6)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, const DataTypeSlice & dtypes)` ||\n| [OrderedMapPeek](#classtensorflow_1_1ops_1_1_ordered_map_peek_1ab385fea4daa9faee11028099a6cebc73)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` key, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` indices, const DataTypeSlice & dtypes, const `[OrderedMapPeek::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs#structtensorflow_1_1ops_1_1_ordered_map_peek_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_ordered_map_peek_1a87ecb8d598a192235367430dec546a21) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [values](#classtensorflow_1_1ops_1_1_ordered_map_peek_1aaf61d9094f0f21072119bba177760835) | `::`[tensorflow::OutputList](/versions/r2.3/api_docs/cc/group/core#group__core_1gab449e6a3abd500c2f4ea93f9e89ba96c) |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operator[]](#classtensorflow_1_1ops_1_1_ordered_map_peek_1a1f534178cb6f8bca468efe3aaa1926df)`(size_t index) const ` | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [Capacity](#classtensorflow_1_1ops_1_1_ordered_map_peek_1abbde446197b0277fb1de7807fcb684e6)`(int64 x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs#structtensorflow_1_1ops_1_1_ordered_map_peek_1_1_attrs) |\n| [Container](#classtensorflow_1_1ops_1_1_ordered_map_peek_1a82c6df8a1750de9f195e6232112ba674)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs#structtensorflow_1_1ops_1_1_ordered_map_peek_1_1_attrs) |\n| [MemoryLimit](#classtensorflow_1_1ops_1_1_ordered_map_peek_1aa16ba5dd51d11ebaef238635bcb6a654)`(int64 x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs#structtensorflow_1_1ops_1_1_ordered_map_peek_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_ordered_map_peek_1a18081f288cbd98a96af948480169c070)`(StringPiece x)` | [Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs#structtensorflow_1_1ops_1_1_ordered_map_peek_1_1_attrs) |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::OrderedMapPeek::Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/ordered-map-peek/attrs) | Optional attribute setters for [OrderedMapPeek](/versions/r2.3/api_docs/cc/class/tensorflow/ops/ordered-map-peek#classtensorflow_1_1ops_1_1_ordered_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### OrderedMapPeek\n\n```gdscript\n OrderedMapPeek(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n const DataTypeSlice & dtypes\n)\n``` \n\n### OrderedMapPeek\n\n```gdscript\n OrderedMapPeek(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input key,\n ::tensorflow::Input indices,\n const DataTypeSlice & dtypes,\n const OrderedMapPeek::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```"]]