IntellectualProperty クラス
Note
これは試験段階のクラスであり、いつでも変更される可能性があります。 詳細については、https://aka.ms/azuremlexperimental を参照してください。
知的財産設定の定義。
- 継承
-
azure.ai.ml.entities._mixins.RestTranslatableMixinIntellectualProperty
コンストラクター
IntellectualProperty(*, publisher: str | None = None, protection_level: IPProtectionLevel = IPProtectionLevel.ALL)
キーワードのみのパラメーター
名前 | 説明 |
---|---|
publisher
|
公開元の名前。 |
protection_level
|
資産保護レベル。 使用できる値は、IPProtectionLevel.ALL ("all") と IPProtectionLevel.NONE ("none") です。 既定値は IPProtectionLevel.ALL ("all") です。 |
例
CommandComponent での知的財産設定の構成。
from azure.ai.ml.constants import IPProtectionLevel
from azure.ai.ml.entities import CommandComponent, IntellectualProperty
component = CommandComponent(
name="random_name",
version="1",
environment="azureml:AzureML-Minimal:1",
command="echo hello",
intellectual_property=IntellectualProperty(publisher="contoso", protection_level=IPProtectionLevel.ALL),
)
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python