MachineLearningTrialComponent Class

Definition

Trial component definition.

public class MachineLearningTrialComponent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningTrialComponent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningTrialComponent>
public class MachineLearningTrialComponent
type MachineLearningTrialComponent = class
    interface IJsonModel<MachineLearningTrialComponent>
    interface IPersistableModel<MachineLearningTrialComponent>
type MachineLearningTrialComponent = class
Public Class MachineLearningTrialComponent
Implements IJsonModel(Of MachineLearningTrialComponent), IPersistableModel(Of MachineLearningTrialComponent)
Public Class MachineLearningTrialComponent
Inheritance
MachineLearningTrialComponent
Implements

Constructors

MachineLearningTrialComponent(String, ResourceIdentifier)

Initializes a new instance of MachineLearningTrialComponent.

Properties

CodeId

ARM resource ID of the code asset.

Command

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

Distribution

Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. Please note MachineLearningDistributionConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MpiDistributionConfiguration, PyTorchDistributionConfiguration and TensorFlowDistributionConfiguration.

EnvironmentId

[Required] The ARM resource ID of the Environment specification for the job.

EnvironmentVariables

Environment variables included in the job.

Resources

Compute Resource configuration for the job.

Explicit Interface Implementations

IJsonModel<MachineLearningTrialComponent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningTrialComponent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningTrialComponent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningTrialComponent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningTrialComponent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to