Class PyTorch
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.DistributionConfiguration
-
- com.azure.resourcemanager.machinelearning.models.PyTorch
-
public final class PyTorch extends DistributionConfiguration
PyTorch distribution configuration.
-
-
Constructor Summary
Constructors Constructor Description PyTorch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
processCountPerInstance()
Get the processCountPerInstance property: Number of processes per node.void
validate()
Validates the instance.PyTorch
withProcessCountPerInstance(Integer processCountPerInstance)
Set the processCountPerInstance property: Number of processes per node.
-
-
-
Method Detail
-
processCountPerInstance
public Integer processCountPerInstance()
Get the processCountPerInstance property: Number of processes per node.- Returns:
- the processCountPerInstance value.
-
withProcessCountPerInstance
public PyTorch withProcessCountPerInstance(Integer processCountPerInstance)
Set the processCountPerInstance property: Number of processes per node.- Parameters:
processCountPerInstance
- the processCountPerInstance value to set.- Returns:
- the PyTorch object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDistributionConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-