Azure ML yml 文件中的命令

发布于 2025-01-19 09:55:56 字数 114 浏览 2 评论 0 原文

当阅读Microsoft上的Azure ML CLI V2的示例时,它们使用符号: “ |”,“”,>“等,等等。

它们是什么意思,在哪里可以找到有关Azure CLI V2引擎可能语法的解释?

When reading the examples from Microsoft on azure ML CLI v2, they use the symbols:
"|", ">", etc., in their yml files.

What do they mean, and where can I find explanations of possible syntax for the Azure CLI v2 engine?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Bonjour°[大白 2025-01-26 09:55:56

| - YAML文档中的此管道符号用于 “多行语句”

description: |
  # Azure Machine Learning "hello world" job

  This is a "hello world" job running in the cloud via Azure Machine Learning!

  ## Description

  Markdown is supported in the studio for job descriptions! You can edit the description there or via CLI.

在上面的示例中,我们需要编写一些多行描述。因此,我们需要使用“ |”符号

“>” - 此符号用于将一些内容直接保存到特定的位置文档中。

command: echo "hello world" > ./outputs/helloworld.txt

在以上命令中,我们需要将发布“ Hello world” “ helloworld.txt”

检查以下链接以获取有关yaml文件的完整文档。

所有这些符号都是yaml作业命令,用于通过CLI完成特定任务。

| - This pipe symbol in YAML document is used for "Multiple line statements"

description: |
  # Azure Machine Learning "hello world" job

  This is a "hello world" job running in the cloud via Azure Machine Learning!

  ## Description

  Markdown is supported in the studio for job descriptions! You can edit the description there or via CLI.

in the above example, we need to write some multiple line description. So, we need to use "|" symbol

">" - This symbol is used to save some content directly to a specific location document.

command: echo "hello world" > ./outputs/helloworld.txt

In this above command, we need to post "hello world" to "helloworld.txt"

Check the below link for complete documentation regarding YAML files.

https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-job-command

All these symbols are the YAML job commands which are used to accomplish a specific task through CLI.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文