tf.distribute.InputReplicationMode

TensorFlow 2 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