你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IntellectualProperty 类
注意
这是一个试验性的类,随时可能更改。 有关详细信息,请参阅 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),
)
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈