Class TensorFlow
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.DistributionConfiguration
-
- com.azure.resourcemanager.machinelearning.models.TensorFlow
-
public final class TensorFlow extends DistributionConfiguration
TensorFlow distribution configuration.
-
-
Constructor Summary
Constructors Constructor Description TensorFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
parameterServerCount()
Get the parameterServerCount property: Number of parameter server tasks.void
validate()
Validates the instance.TensorFlow
withParameterServerCount(Integer parameterServerCount)
Set the parameterServerCount property: Number of parameter server tasks.TensorFlow
withWorkerCount(Integer workerCount)
Set the workerCount property: Number of workers.Integer
workerCount()
Get the workerCount property: Number of workers.
-
-
-
Method Detail
-
parameterServerCount
public Integer parameterServerCount()
Get the parameterServerCount property: Number of parameter server tasks.- Returns:
- the parameterServerCount value.
-
withParameterServerCount
public TensorFlow withParameterServerCount(Integer parameterServerCount)
Set the parameterServerCount property: Number of parameter server tasks.- Parameters:
parameterServerCount
- the parameterServerCount value to set.- Returns:
- the TensorFlow object itself.
-
workerCount
public Integer workerCount()
Get the workerCount property: Number of workers. If not specified, will default to the instance count.- Returns:
- the workerCount value.
-
withWorkerCount
public TensorFlow withWorkerCount(Integer workerCount)
Set the workerCount property: Number of workers. If not specified, will default to the instance count.- Parameters:
workerCount
- the workerCount value to set.- Returns:
- the TensorFlow object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDistributionConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-