TensorFlow Data Pipeline

May 30, 2026 | 5 min read

tf.data Map

def preprocess(image, label):
    return compiled_normalize(image), label

dataset = dataset.map(preprocess)