Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Io Ops\n======\n\nSummary\n-------\n\n| ### Classes ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::FixedLengthRecordReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/fixed-length-record-reader) | A Reader that outputs fixed-length records from a file. |\n| [tensorflow::ops::IdentityReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/identity-reader) | A Reader that outputs the queued work as both the key and value. |\n| [tensorflow::ops::LMDBReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/l-m-d-b-reader) | A Reader that outputs the records from a LMDB file. |\n| [tensorflow::ops::MatchingFiles](/versions/r2.1/api_docs/cc/class/tensorflow/ops/matching-files) | Returns the set of files matching one or more glob patterns. |\n| [tensorflow::ops::MergeV2Checkpoints](/versions/r2.1/api_docs/cc/class/tensorflow/ops/merge-v2-checkpoints) | V2 format specific: merges the metadata files of sharded checkpoints. |\n| [tensorflow::ops::ReadFile](/versions/r2.1/api_docs/cc/class/tensorflow/ops/read-file) | Reads and outputs the entire contents of the input filename. |\n| [tensorflow::ops::ReaderNumRecordsProduced](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-num-records-produced) | Returns the number of records this Reader has produced. |\n| [tensorflow::ops::ReaderNumWorkUnitsCompleted](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-num-work-units-completed) | Returns the number of work units this Reader has finished processing. |\n| [tensorflow::ops::ReaderRead](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-read) | Returns the next record (key, value pair) produced by a Reader. |\n| [tensorflow::ops::ReaderReadUpTo](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-read-up-to) | Returns up to `num_records` (key, value) pairs produced by a Reader. |\n| [tensorflow::ops::ReaderReset](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-reset) | [Restore](/versions/r2.1/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_restore) a Reader to its initial clean state. |\n| [tensorflow::ops::ReaderRestoreState](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-restore-state) | [Restore](/versions/r2.1/api_docs/cc/class/tensorflow/ops/restore#classtensorflow_1_1ops_1_1_restore) a reader to a previously saved state. |\n| [tensorflow::ops::ReaderSerializeState](/versions/r2.1/api_docs/cc/class/tensorflow/ops/reader-serialize-state) | Produce a string tensor that encodes the state of a Reader. |\n| [tensorflow::ops::Restore](/versions/r2.1/api_docs/cc/class/tensorflow/ops/restore) | Restores a tensor from checkpoint files. |\n| [tensorflow::ops::RestoreSlice](/versions/r2.1/api_docs/cc/class/tensorflow/ops/restore-slice) | Restores a tensor from checkpoint files. |\n| [tensorflow::ops::RestoreV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/restore-v2) | Restores tensors from a V2 checkpoint. |\n| [tensorflow::ops::Save](/versions/r2.1/api_docs/cc/class/tensorflow/ops/save) | Saves the input tensors to disk. |\n| [tensorflow::ops::SaveSlices](/versions/r2.1/api_docs/cc/class/tensorflow/ops/save-slices) | Saves input tensors slices to disk. |\n| [tensorflow::ops::SaveV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/save-v2) | Saves tensors in V2 checkpoint format. |\n| [tensorflow::ops::ShardedFilename](/versions/r2.1/api_docs/cc/class/tensorflow/ops/sharded-filename) | Generate a sharded filename. |\n| [tensorflow::ops::ShardedFilespec](/versions/r2.1/api_docs/cc/class/tensorflow/ops/sharded-filespec) | Generate a glob pattern matching all sharded file names. |\n| [tensorflow::ops::TFRecordReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/t-f-record-reader) | A Reader that outputs the records from a TensorFlow Records file. |\n| [tensorflow::ops::TextLineReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/text-line-reader) | A Reader that outputs the lines of a file delimited by ' '. |\n| [tensorflow::ops::WholeFileReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/whole-file-reader) | A Reader that outputs the entire contents of a file as a value. |\n| [tensorflow::ops::WriteFile](/versions/r2.1/api_docs/cc/class/tensorflow/ops/write-file) | Writes contents to the file at input filename. |"]]