目录

Utils

Utility components that are ready-to-use out of the box. These are components that simply execute well known binaries (e.g. /bin/cp) and are meant to be used as tutorial materials or glue operations between meaningful stages in a workflow.

torchx.components.utils.echo(msg: str = 'hello world')torchx.specs.api.AppDef[source]

Echos a message to stdout (calls /bin/echo)

Parameters

msg – message to echo

torchx.components.utils.touch(file: str)torchx.specs.api.AppDef[source]

Touches a file (calls /bin/touch)

Parameters

file – file to create

文档

访问 PyTorch 的全面开发人员文档

查看文档

教程

获取面向初学者和高级开发人员的深入教程

查看教程

资源

查找开发资源并解答您的问题

查看资源