Sequence of elements, in which each element consists of one or more components.įor example, in an image pipeline, an element might be a single trainingĮxample, with a pair of tensor components representing the image and its label. The tf.data API introduces a tf.data.Dataset abstraction that represents a Handle large amounts of data, read from different data formats, and perform Pipeline for a text model might involve extracting symbols from raw text data,Ĭonverting them to embedding identifiers with a lookup table, and batching Image, and merge randomly selected images into a batch for training. For example, the pipeline for an image model might aggregateĭata from files in a distributed file system, apply random perturbations to each The tf.data API enables you to build complex input pipelines from simple,
0 Comments
Leave a Reply. |