ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.distribute.InputReplicationMode

TensorFlow 1 version View source on GitHub

Replication mode for input function.

  • PER_WORKER: The input function will be called on each worker independently, creating as many input pipelines as number of workers. Replicas will dequeue from the local Dataset on their worker. tf.distribute.Strategy doesn't manage any state sharing between such separate input pipelines.

Class Variables

  • PER_WORKER