Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: Status Pemulihan Pembaca
#include <io_ops.h>
Mengembalikan pembaca ke keadaan yang disimpan sebelumnya.
Ringkasan
Tidak semua Pembaca mendukung pemulihan, sehingga hal ini dapat menghasilkan kesalahan yang tidak diterapkan.
Argumen:
- ruang lingkup: Objek Lingkup
- reader_handle: Menangani ke Pembaca.
- status: Hasil dari ReaderSerializeState dari Pembaca dengan tipe yang cocok dengan reader_handle.
Pengembalian:
Atribut publik
Fungsi publik
operator::tensorflow::Operasi
operator::tensorflow::Operation() const
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::ReaderRestoreState Class Reference\n\ntensorflow::ops::ReaderRestoreState\n===================================\n\n`#include \u003cio_ops.h\u003e`\n\n[Restore](/versions/r1.15/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_restore) a reader to a previously saved state.\n\nSummary\n-------\n\nNot all Readers support being restored, so this can produce an Unimplemented error.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- reader_handle: Handle to a Reader.\n- state: Result of a [ReaderSerializeState](/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-serialize-state#classtensorflow_1_1ops_1_1_reader_serialize_state) of a Reader with type matching reader_handle.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ReaderRestoreState](#classtensorflow_1_1ops_1_1_reader_restore_state_1a89d3806e028e0917362aa36fd51ce849)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` reader_handle, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` state)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_reader_restore_state_1a03de5f453506a3a89e1318a3def9a647) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_reader_restore_state_1a169bff5be553fea3119e14d118cd9475)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### ReaderRestoreState\n\n```gdscript\n ReaderRestoreState(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input reader_handle,\n ::tensorflow::Input state\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n```"]]