PyTorch Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. DistributionConfiguration - com.
azure. resourcemanager. machinelearning. models. PyTorch
- com.
- com.
public final class PyTorch
extends DistributionConfiguration
PyTorch distribution configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| PyTorch() |
Creates an instance of Py |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Distribution |
distributionType()
Get the distribution |
|
static
Py |
fromJson(JsonReader jsonReader)
Reads an instance of Py |
| Integer |
processCountPerInstance()
Get the process |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Py |
withProcessCountPerInstance(Integer processCountPerInstance)
Set the process |
Methods inherited from DistributionConfiguration
Methods inherited from java.lang.Object
Constructor Details
PyTorch
public PyTorch()
Creates an instance of PyTorch class.
Method Details
distributionType
public DistributionType distributionType()
Get the distributionType property: [Required] Specifies the type of distribution framework.
Overrides:
PyTorch.distributionType()Returns:
fromJson
public static PyTorch fromJson(JsonReader jsonReader)
Reads an instance of PyTorch from the JsonReader.
Parameters:
Returns:
Throws:
processCountPerInstance
public Integer processCountPerInstance()
Get the processCountPerInstance property: Number of processes per node.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PyTorch.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
PyTorch.validate()withProcessCountPerInstance
public PyTorch withProcessCountPerInstance(Integer processCountPerInstance)
Set the processCountPerInstance property: Number of processes per node.
Parameters:
Returns: