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.

dirname string, name of the directory to be created

errors.OpError If the operation fails.