tensorflow:: אופס:: MapClear
#include <data_flow_ops.h>
Op מסיר את כל האלמנטים במיכל הבסיסי.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
MapClear (const :: tensorflow::Scope & scope, const DataTypeSlice & dtypes) | |
MapClear (const :: tensorflow::Scope & scope, const DataTypeSlice & dtypes, const MapClear::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
פונקציות סטטיות ציבוריות | |
---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
MemoryLimit (int64 x) | |
SharedName (StringPiece x) |
מבנים | |
---|---|
tensorflow:: ops:: MapClear:: Attrs | קובעי תכונות אופציונליים עבור MapClear . |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
MapClear
MapClear( const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes )
MapClear
MapClear( const ::tensorflow::Scope & scope, const DataTypeSlice & dtypes, const MapClear::Attrs & attrs )
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
יְכוֹלֶת
Attrs Capacity( int64 x )
מְכוֹלָה
Attrs Container( StringPiece x )
מגבלת זיכרון
Attrs MemoryLimit( int64 x )
SharedName
Attrs SharedName( StringPiece x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::ops::MapClear Class Reference\n\ntensorflow::ops::MapClear\n=========================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOp removes all elements in the underlying container.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MapClear](#classtensorflow_1_1ops_1_1_map_clear_1abb2a7456cc08a5865a585c8f6220a10c)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const DataTypeSlice & dtypes)` ||\n| [MapClear](#classtensorflow_1_1ops_1_1_map_clear_1aca3d53c578e01f45917a766879fd19e8)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const DataTypeSlice & dtypes, const `[MapClear::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs#structtensorflow_1_1ops_1_1_map_clear_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_map_clear_1a15d6d0e48aeb5fa0dc4986d4c8781ee1) | [Operation](/versions/r2.1/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_clear_1a2e99a647fe4658faa41caaa6f8da0f2a)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| [Capacity](#classtensorflow_1_1ops_1_1_map_clear_1a57a5f3ee2dabb4a5a90525e05b3d5b84)`(int64 x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs#structtensorflow_1_1ops_1_1_map_clear_1_1_attrs) |\n| [Container](#classtensorflow_1_1ops_1_1_map_clear_1af2a0fae935978e1e2d9b8de81a1dc13c)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs#structtensorflow_1_1ops_1_1_map_clear_1_1_attrs) |\n| [MemoryLimit](#classtensorflow_1_1ops_1_1_map_clear_1af03fd7a53fb5de020d8705d0e69fca96)`(int64 x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs#structtensorflow_1_1ops_1_1_map_clear_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_map_clear_1a6d98afcc1cd43db3e2103d8673060eef)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs#structtensorflow_1_1ops_1_1_map_clear_1_1_attrs) |\n\n| ### Structs ||\n|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::MapClear::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/map-clear/attrs) | Optional attribute setters for [MapClear](/versions/r2.1/api_docs/cc/class/tensorflow/ops/map-clear#classtensorflow_1_1ops_1_1_map_clear). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### MapClear\n\n```gdscript\n MapClear(\n const ::tensorflow::Scope & scope,\n const DataTypeSlice & dtypes\n)\n``` \n\n### MapClear\n\n```gdscript\n MapClear(\n const ::tensorflow::Scope & scope,\n const DataTypeSlice & dtypes,\n const MapClear::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```"]]