Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now


TensorFlow 2 version View source on GitHub

A transformation that copies dataset elements to the given target_device.

target_device The name of a device to which elements will be copied.
source_device The original device on which input_dataset will be placed.

A Dataset transformation function, which can be passed to tf.data.Dataset.apply.