IntellectualProperty Klasse
Hinweis
Dies ist eine experimentelle Klasse, die jederzeit geändert werden kann. Unter https://aka.ms/azuremlexperimental finden Sie weitere Informationen.
Definition der Einstellungen für geistiges Eigentum.
- Vererbung
-
azure.ai.ml.entities._mixins.RestTranslatableMixinIntellectualProperty
Konstruktor
IntellectualProperty(*, publisher: str | None = None, protection_level: IPProtectionLevel = IPProtectionLevel.ALL)
Nur Schlüsselwortparameter
Name | Beschreibung |
---|---|
publisher
|
Der Name des Herausgebers. |
protection_level
|
Ressourcenschutzebene. Akzeptierte Werte sind IPProtectionLevel.ALL ("all") und IPProtectionLevel.NONE ("none"). Der Standardwert ist IPProtectionLevel.ALL ("alle"). |
Beispiele
Konfigurieren von Einstellungen für geistiges Eigentum auf einem 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),
)
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python