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