tensorflow:: אופס:: חותמת זמן
#include <logging_ops.h>
מספק את הזמן מאז התקופה בשניות.
תַקצִיר
מחזירה את חותמת הזמן בתור float64
למשך שניות מאז עידן יוניקס.
הערה: חותמת הזמן מחושבת בעת ביצוע הפעולה, לא כאשר היא מתווספת לגרף.
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: טנסור ה-ts.
בנאים והורסים | |
---|---|
Timestamp (const :: tensorflow::Scope & scope) |
תכונות ציבוריות | |
---|---|
operation | |
ts |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
ts
::tensorflow::Output ts
תפקידים ציבוריים
חותמת זמן
Timestamp( const ::tensorflow::Scope & scope )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# tensorflow::ops::Timestamp Class Reference\n\ntensorflow::ops::Timestamp\n==========================\n\n`#include \u003clogging_ops.h\u003e`\n\nProvides the time since epoch in seconds.\n\nSummary\n-------\n\nReturns the timestamp as a `float64` for seconds since the Unix epoch.\n\nNote: the timestamp is computed when the op is executed, not when it is added to the graph.\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- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The ts tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Timestamp](#classtensorflow_1_1ops_1_1_timestamp_1aba8277601291856dafe7cad9fad13a2f)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_timestamp_1a6071f450202ae6e8cfbf967ddf110f76) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [ts](#classtensorflow_1_1ops_1_1_timestamp_1a30de7ae171fb23b7904ce60fbc7f2145) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_timestamp_1a5de4c1a7ddbe87819e2a4b503a840b9c)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_timestamp_1a1ed02ff13ff20a545e6402f148dec96f)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_timestamp_1ab179eb5df62139a0d58c39e88718dcb2)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### ts\n\n```text\n::tensorflow::Output ts\n``` \n\nPublic functions\n----------------\n\n### Timestamp\n\n```gdscript\n Timestamp(\n const ::tensorflow::Scope & scope\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]