tf.compat.v1.gfile.MakeDirs

Creates a directory and all parent/intermediate directories.

Used in the notebooks

Used in the tutorials

It succeeds if dirname already exists and is writable.

dirnamestring, name of the directory to be created

errors.OpErrorIf the operation fails.