Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: Zaman damgası
#include <logging_ops.h>
Dönemden bu yana geçen süreyi saniye cinsinden sağlar.
Özet
Unix döneminden bu yana saniyeler boyunca zaman damgasını float64
olarak döndürür.
Not: Zaman damgası, grafiğe eklendiğinde değil, işlem yürütüldüğünde hesaplanır.
Argümanlar:
İade:
Genel özellikler
Kamu işlevleri
düğüm
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 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```"]]