tf.compat.v1.gfile.MakeDirs

View source on GitHub

Creates a directory and all parent/intermediate directories.

It succeeds if dirname already exists and is writable.

dirname string, name of the directory to be created

errors.OpError If the operation fails.