TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tfds.features

View source

tfds.features.FeatureConnector API defining feature types.

Modules

text module: Text utilities.

Classes

class Audio: FeatureConnector for audio, encoded as raw integer wave form.

class BBox: BBox(ymin, xmin, ymax, xmax)

class BBoxFeature: FeatureConnector for a normalized bounding box.

class ClassLabel: FeatureConnector for integer class labels.

class FeatureConnector: Abstract base class for feature types.

class FeaturesDict: Composite FeatureConnector; each feature in dict has its own connector.

class Image: FeatureConnector for images.

class Sequence: Composite FeatureConnector for a dict where each value is a list.

class Tensor: FeatureConnector for generic data of arbitrary shape and type.

class TensorInfo: Structure containing info on the tf.Tensor shape/dtype.

class Text: FeatureConnector for text, encoding to integers with a TextEncoder.

class Video: FeatureConnector for videos, encoding frames individually on disk.