すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::PAI::Experiment

最終更新日:Mar 17, 2025

ALIYUN::PAI::Experiment は、Experiment を作成するために使用されます。

構文

{
  "Type": "ALIYUN::PAI::Experiment",
  "Properties": {
    "ArtifactUri": String,
    "ExperimentName": String,
    "WorkspaceId": String,
    "Accessibility": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

ArtifactUri

String

はい

いいえ

Experiment に関連付けられたすべてのタスクのデフォルトのアーティファクト出力パス。

Object Storage Service (OSS) パスのみがサポートされています。

ExperimentName

String

はい

はい

Experiment の名前。

名前は次の要件を満たしている必要があります。

  • 名前は文字で始まる必要があります。

  • 文字、数字、アンダースコア (_)、およびハイフン (-) を含めることができます。

  • 1 ~ 63 文字の長さである必要があります。

WorkspaceId

String

はい

いいえ

ワークスペースの ID。

なし。

Accessibility

String

いいえ

はい

表示スケール。

有効な値:

  • PRIVATE: Experiment は作成者アカウントと Alibaba Cloud アカウントにのみ表示されます。

  • PUBLIC: Experiment はすべてのアカウントに表示されます。

戻り値

Fn::GetAtt

  • Accessibility: 表示スケール。

  • ArtifactUri: Experiment に関連付けられたすべてのタスクのデフォルトのアーティファクト出力パス。

  • OwnerId: Alibaba Cloud アカウントの ID。

  • ExperimentName: Experiment の名前。

  • UserId: 作成者アカウントの ID。

  • ExperimentId: Experiment の ID。

  • TensorboardLogUri: Experiment で使用される TensorBoard ログのデフォルトの OSS ストレージパス。

  • CreateTime: Experiment の作成時間。

  • WorkspaceId: ワークスペースの ID。

  • Labels: Experiment に追加されたタグ。

  • GmtModifiedTime: Experiment の更新時間。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Accessibility:
    Type: String
    Description:
      en: Experimental Visibility.
    AllowedValues:
      - PRIVATE
      - PUBLIC
    Required: false
  ArtifactUri:
    Type: String
    Description:
      en: ArtifactUri is default OSS storage path of the output of trials in the experiment.
    Required: true
  ExperimentName:
    Type: String
    Description:
      en: Name is the name of the experiment, unique in a namespace.
    Required: true
  WorkspaceId:
    Type: String
    Description:
      en: WorkspaceId is the workspace id which contains the experiment.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::PAI::Experiment
    Properties:
      Accessibility:
        Ref: Accessibility
      ArtifactUri:
        Ref: ArtifactUri
      ExperimentName:
        Ref: ExperimentName
      WorkspaceId:
        Ref: WorkspaceId
Outputs:
  Accessibility:
    Description: 実験の可視性。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Accessibility
  ArtifactUri:
    Description: ArtifactUri は、実験における試行の出力のデフォルト OSS ストレージパスです。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ArtifactUri
  OwnerId:
    Description: OwnerId は、このエンティティが属するユーザーアカウント ID です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - OwnerId
  ExperimentName:
    Description: 名前は実験の名前であり、名前空間内で一意です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ExperimentName
  UserId:
    Description: UserId は、このエンティティを作成したユーザーアカウント ID です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - UserId
  ExperimentId:
    Description: ExperimentId は、実験のグローバルに一意な識別子です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ExperimentId
  TensorboardLogUri:
    Description: TensorboardLogUri は、実験における試行の TensorBoard ログのデフォルト OSS ストレージパスです。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - TensorboardLogUri
  CreateTime:
    Description: GmtCreateTime は、このエンティティが作成された時刻です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreateTime
  WorkspaceId:
    Description: WorkspaceId は、実験を含むワークスペース ID です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - WorkspaceId
  Labels:
    Description: ラベルは実験のタグです。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Labels
  GmtModifiedTime:
    Description: GmtModifiedTime は、このエンティティが変更された時刻です。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - GmtModifiedTime
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Accessibility": {
      "Type": "String",
      "Description": {
        "en": "Experimental Visibility."
      },
      "AllowedValues": [
        "PRIVATE",
        "PUBLIC"
      ],
      "Required": false
    },
    "ArtifactUri": {
      "Type": "String",
      "Description": {
        "en": "ArtifactUri is default OSS storage path of the output of trials in the experiment."
      },
      "Required": true
    },
    "ExperimentName": {
      "Type": "String",
      "Description": {
        "en": "Name is the name of the experiment, unique in a namespace."
      },
      "Required": true
    },
    "WorkspaceId": {
      "Type": "String",
      "Description": {
        "en": "WorkspaceId is the workspace id which contains the experiment."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::PAI::Experiment",
      "Properties": {
        "Accessibility": {
          "Ref": "Accessibility"
        },
        "ArtifactUri": {
          "Ref": "ArtifactUri"
        },
        "ExperimentName": {
          "Ref": "ExperimentName"
        },
        "WorkspaceId": {
          "Ref": "WorkspaceId"
        }
      }
    }
  },
  "Outputs": {
    "Accessibility": {
      "Description": "実験の可視性。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Accessibility"
        ]
      }
    },
    "ArtifactUri": {
      "Description": "ArtifactUri は、実験における試行の出力のデフォルト OSS ストレージパスです。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ArtifactUri"
        ]
      }
    },
    "OwnerId": {
      "Description": "OwnerId は、このエンティティが属するユーザーアカウント ID です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "OwnerId"
        ]
      }
    },
    "ExperimentName": {
      "Description": "名前は実験の名前であり、名前空間内で一意です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ExperimentName"
        ]
      }
    },
    "UserId": {
      "Description": "UserId は、このエンティティを作成したユーザーアカウント ID です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "UserId"
        ]
      }
    },
    "ExperimentId": {
      "Description": "ExperimentId は、実験のグローバルに一意な識別子です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ExperimentId"
        ]
      }
    },
    "TensorboardLogUri": {
      "Description": "TensorboardLogUri は、実験における試行の TensorBoard ログのデフォルト OSS ストレージパスです。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "TensorboardLogUri"
        ]
      }
    },
    "CreateTime": {
      "Description": "GmtCreateTime は、このエンティティが作成された時刻です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "WorkspaceId": {
      "Description": "WorkspaceId は、実験を含むワークスペース ID です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "WorkspaceId"
        ]
      }
    },
    "Labels": {
      "Description": "ラベルは実験のタグです。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Labels"
        ]
      }
    },
    "GmtModifiedTime": {
      "Description": "GmtModifiedTime は、このエンティティが変更された時刻です。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "GmtModifiedTime"
        ]
      }
    }
  }
}