Share via


ModelConfiguration 類別

注意

這是實驗性類別,可以隨時變更。 請參閱 https://aka.ms/azuremlexperimental 以取得詳細資訊。

ModelConfiguration。

繼承
builtins.object
ModelConfiguration

建構函式

ModelConfiguration(*, mode: str = None, mount_path: str = None)

參數

mode
str
必要

模型的模式。

mount_path
str
必要

模型的掛接路徑。

範例

建立模型組態物件。


   from azure.ai.ml.entities._assets._artifacts._package.model_configuration import ModelConfiguration

   modelConfiguration = ModelConfiguration(mode="model-mode", mount_path="model-mount-path")