DataPathComputeBinding 类
配置如何使 DataPath 定义的数据在计算目标上可用。
DataPath 配置指示数据将如何在计算目标上使用,即上传或装载,以及数据是否应该被覆盖。
初始化 DataPathComputeBinding。
- 继承
-
builtins.objectDataPathComputeBinding
构造函数
DataPathComputeBinding(mode='mount', path_on_compute=None, overwrite=False)
参数
方法
create_data_reference |
从 DataPath 和此 DataPathComputeBinding 创建 DataReference。 |
create_from_data_reference |
从 DataReference 创建 DataPathComputeBinding。 |
create_data_reference
从 DataPath 和此 DataPathComputeBinding 创建 DataReference。
create_data_reference(data_reference_name=None, datapath=None)
参数
返回
DataReference 对象。
返回类型
create_from_data_reference
从 DataReference 创建 DataPathComputeBinding。
static create_from_data_reference(data_reference)
参数
返回
一个 DataPathComputeBinding 对象。
返回类型
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈