Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: Değişken Başlatıldı
#include <state_ops.h>
Bir tensörün başlatılıp başlatılmadığını kontrol eder.
Özet
Tensörün başlatılıp başlatılmadığını gösteren boolean skaler çıktılar.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- ref:
Variable
bir düğümden olmalıdır. Başlatılmamış olabilir.
İade:
-
Output
: is_initialized tensör.
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-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::IsVariableInitialized Class Reference\n\ntensorflow::ops::IsVariableInitialized\n======================================\n\n`#include \u003cstate_ops.h\u003e`\n\nChecks whether a tensor has been initialized.\n\nSummary\n-------\n\nOutputs boolean scalar indicating whether the tensor has been initialized.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- ref: Should be from a [Variable](/versions/r2.1/api_docs/cc/class/tensorflow/ops/variable#classtensorflow_1_1ops_1_1_variable) node. May be uninitialized.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The is_initialized tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [IsVariableInitialized](#classtensorflow_1_1ops_1_1_is_variable_initialized_1a87a43164f781b7de92ab0823d3690a01)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` ref)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [is_initialized](#classtensorflow_1_1ops_1_1_is_variable_initialized_1a6b04d210b7237b4aaee54a3c45c99c41) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_is_variable_initialized_1ad7451f953a585b9bf007335930c6f930) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_is_variable_initialized_1ac5fbba3a4bc5e833b32bb936e0b683e2)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_is_variable_initialized_1a29ebeb12023c9b9cde27be7762678de3)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_is_variable_initialized_1afb0da459bb73412eaf8a43a4502ba69e)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### is_initialized\n\n```scdoc\n::tensorflow::Output is_initialized\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### IsVariableInitialized\n\n```gdscript\n IsVariableInitialized(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input ref\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```"]]