DatasetContextManager 类

管理数据集下载和装载操作的上下文。 不应直接使用此类。

类 DatasetContextManager 构造函数。

继承
azureml.data.context_managers._CommonContextManager
DatasetContextManager

构造函数

DatasetContextManager(config, ignore_already_mounted_error=False, force_mount_with_allow_other=False)

参数

config
dictlist
必需

传递给上下文管理器的配置。

ignore_already_mounted_error
bool
默认值: False

如果已将某些内容装载到同一文件夹,则忽略装载错误。

force_mount_with_allow_other
bool
默认值: False

设置为 true 时,所有装载都将装载allow_other = True (允许所有 OS 用户) 访问装入点。