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

tf.io.gfile.copy

TensorFlow 2 version View source on GitHub

Copies data from src to dst.

src string, name of the file whose contents need to be copied
dst string, name of the file to which to copy to
overwrite boolean, if false it's an error for dst to be occupied by an existing file.

errors.OpError If the operation fails.