parameters: (dirname)
docstring: Creates a directory with the name 'dirname'.
  
    Args:
      dirname: string, name of the directory to be created
  
    Notes:
      The parent directories need to exist. Use recursive_create_dir instead if
      there is the possibility that the parent dirs don't exist.
  
    Raises:
      errors.OpError: If the operation fails.
docstring_summary: Creates a directory with the name 'dirname'.
docstring_tokens: Creates a directory with the name dirname .
function: def create_dir(dirname):
    """Creates a directory with the name 'dirname'.
  
    Args:
      dirname: string, name of the directory to be created
  
    Notes:
      The parent directories need to exist. Use recursive_create_dir instead if
      there is the possibility that the parent dirs don't exist.
  
    Raises:
      errors.OpError: If the operation fails.
    """
    with errors.raise_exception_on_not_ok_status() as status:
      pywrap_tensorflow.CreateDir(compat.as_bytes(dirname), status)
function_tokens: def create_dir ( dirname ) : with errors . raise_exception_on_not_ok_status ( ) as status : pywrap_tensorflow . CreateDir ( compat . as_bytes ( dirname ) , status )