Module: tf.compat.v1.io

Public API for tf.io namespace.

Modules

gfile module: Public API for tf.io.gfile namespace.

Classes

class FixedLenFeature: Configuration for parsing a fixed-length input feature.

class FixedLenSequenceFeature: Configuration for parsing a variable-length input feature into a Tensor.

class PaddingFIFOQueue: A FIFOQueue that supports batching variable-sized tensors by padding.

class PriorityQueue: A queue implementation that dequeues elements in prioritized order.

class QueueBase: Base class for queue implementations.

class RaggedFeature: Configuration for passing a RaggedTensor input feature.

class RandomShuffleQueue: A queue implementation that dequeues elements in a random order.

class SparseFeature: Configuration for parsing a sparse input feature from an Example.

class TFRecordCompressionType: The type of compression for the record.

class TFRecordOptions: Options used for manipulating TFRecord files.

class TFRecordWriter: A class to write records to a TFRecords file.

class VarLenFeature: Configuration for parsing a variable-length input feature.

Functions

decode_and_crop_jpeg(...): Decode and Crop a JPEG-encoded image to a uint8 tensor.

decode_base64(...): Decode web-safe base64-encoded strings.

decode_bmp(...): Decode the first frame of a BMP-encoded image to a uint8 tensor.

decode_compressed(...): Decompress strings.

decode_csv(...): Convert CSV records to tensors. Each column maps to one tensor.

decode_gif(...): Decode the frame(s) of a GIF-encoded image to a uint8 tensor.

decode_image(...): Function for decode_bmp, decode_gif, decode_jpeg, and decode_png.

decode_jpeg(...): Decode a JPEG-encoded image to a uint8 tensor.

decode_json_example(...): Convert JSON-encoded Example records to binary protocol buffer strings.

decode_png(...): Decode a PNG-encoded image to a uint8 or uint16 tensor.

decode_proto(...): The op extracts fields from a serialized