TrialComponentArgs

data class TrialComponentArgs(val codeId: Output<String>? = null, val command: Output<String>, val distribution: Output<Any>? = null, val environmentId: Output<String>? = null, val environmentVariables: Output<Map<String, String>>? = null, val inputDataBindings: Output<Map<String, InputDataBindingArgs>>? = null, val outputDataBindings: Output<Map<String, OutputDataBindingArgs>>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<TrialComponentArgs>

Trial component definition.

Constructors

Link copied to clipboard
constructor(codeId: Output<String>? = null, command: Output<String>, distribution: Output<Any>? = null, environmentId: Output<String>? = null, environmentVariables: Output<Map<String, String>>? = null, inputDataBindings: Output<Map<String, InputDataBindingArgs>>? = null, outputDataBindings: Output<Map<String, OutputDataBindingArgs>>? = null, timeout: Output<String>? = null)

Properties

Link copied to clipboard
val codeId: Output<String>? = null

ARM resource ID of the code asset.

Link copied to clipboard
val command: Output<String>

Required The command to execute on startup of the job. eg. "python train.py"

Link copied to clipboard
val distribution: Output<Any>? = null

Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.

Link copied to clipboard
val environmentId: Output<String>? = null

The ARM resource ID of the Environment specification for the job.

Link copied to clipboard
val environmentVariables: Output<Map<String, String>>? = null

Environment variables included in the job.

Link copied to clipboard

Mapping of input data bindings used in the job.

Link copied to clipboard

Mapping of output data bindings used in the job.

Link copied to clipboard
val timeout: Output<String>? = null

The max run duration in ISO 8601 format, after which the trial component will be cancelled. Only supports duration with precision as low as Seconds.

Functions

Link copied to clipboard
open override fun toJava(): TrialComponentArgs