共用方式為


conda_dependencies 模組

包含管理 conda 環境相依性的功能。

使用 類別 CondaDependencies 來載入現有的 conda 環境檔案,並設定和管理實驗執行的新環境。

類別

CondaDependencies

管理 Azure Machine Learning 環境中的應用程式相依性。

備註

如果未指定任何參數,azureml-defaults 會新增為唯一的 pip 相依性。

conda_dependencies_file_path如果未指定 參數,則 CondaDependencies 物件只會包含 Azure Machine Learning 套件 (azureml-defaults)。 azureml-defaults 相依性不會釘選到特定版本,並將目標設為 PyPi 上可用的最新版本。

初始化新的物件來管理相依性。