Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# Io Ops\n======\n\nSummary\n-------\n\n| ### Classes ||\n|----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::FixedLengthRecordReader](/versions/r1.15/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/r1.15/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/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/matching-files) | Returns the set of files matching one or more glob patterns. |\n| [tensorflow::ops::MergeV2Checkpoints](/versions/r1.15/api_docs/cc/class/tensorflow/ops/merge-v2-checkpoints) | V2 format specific: merges the metadata files of sharded checkpoints. |\n| [tensorflow::ops::ReadFile](/versions/r1.15/api_docs/cc/class/tensorflow/ops/read-file) | Reads and outputs the entire contents of the input filename. |\n| [tensorflow::ops::ReaderNumRecordsProduced](/versions/r1.15/api_docs/cc/class/tensorflow/ops/reader-num-records-produced) | Returns the number of records this Reader has produced. |\n| [tensorflow::ops::ReaderNumWorkUnitsCompleted](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/reader-read) | Returns the next record (key, value pair) produced by a Reader. |\n| [tensorflow::ops::ReaderReadUpTo](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/reader-reset) | [Restore](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/reader-restore-state) | [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| [tensorflow::ops::ReaderSerializeState](/versions/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/restore) | Restores a tensor from checkpoint files. |\n| [tensorflow::ops::RestoreSlice](/versions/r1.15/api_docs/cc/class/tensorflow/ops/restore-slice) | Restores a tensor from checkpoint files. |\n| [tensorflow::ops::RestoreV2](/versions/r1.15/api_docs/cc/class/tensorflow/ops/restore-v2) | Restores tensors from a V2 checkpoint. |\n| [tensorflow::ops::Save](/versions/r1.15/api_docs/cc/class/tensorflow/ops/save) | Saves the input tensors to disk. |\n| [tensorflow::ops::SaveSlices](/versions/r1.15/api_docs/cc/class/tensorflow/ops/save-slices) | Saves input tensors slices to disk. |\n| [tensorflow::ops::SaveV2](/versions/r1.15/api_docs/cc/class/tensorflow/ops/save-v2) | Saves tensors in V2 checkpoint format. |\n| [tensorflow::ops::ShardedFilename](/versions/r1.15/api_docs/cc/class/tensorflow/ops/sharded-filename) | Generate a sharded filename. |\n| [tensorflow::ops::ShardedFilespec](/versions/r1.15/api_docs/cc/class/tensorflow/ops/sharded-filespec) | Generate a glob pattern matching all sharded file names. |\n| [tensorflow::ops::TFRecordReader](/versions/r1.15/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/r1.15/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/r1.15/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/r1.15/api_docs/cc/class/tensorflow/ops/write-file) | Writes contents to the file at input filename. |"]]