Lingua

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

Name Description
MachineLearningTrialComponent(String, ResourceIdentifier)

Initializes a new instance of MachineLearningTrialComponent.

Properties

Name Description
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.

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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