TensorFlow Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. DistributionConfiguration - com.
azure. resourcemanager. machinelearning. models. TensorFlow
- com.
- com.
public final class TensorFlow
extends DistributionConfiguration
TensorFlow distribution configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| TensorFlow() |
Creates an instance of Tensor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Distribution |
distributionType()
Get the distribution |
|
static
Tensor |
fromJson(JsonReader jsonReader)
Reads an instance of Tensor |
| Integer |
parameterServerCount()
Get the parameter |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Tensor |
withParameterServerCount(Integer parameterServerCount)
Set the parameter |
|
Tensor |
withWorkerCount(Integer workerCount)
Set the worker |
| Integer |
workerCount()
Get the worker |
Methods inherited from DistributionConfiguration
Methods inherited from java.lang.Object
Constructor Details
TensorFlow
public TensorFlow()
Creates an instance of TensorFlow class.
Method Details
distributionType
public DistributionType distributionType()
Get the distributionType property: [Required] Specifies the type of distribution framework.
Overrides:
TensorFlow.distributionType()Returns:
fromJson
public static TensorFlow fromJson(JsonReader jsonReader)
Reads an instance of TensorFlow from the JsonReader.
Parameters:
Returns:
Throws:
parameterServerCount
public Integer parameterServerCount()
Get the parameterServerCount property: Number of parameter server tasks.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TensorFlow.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
TensorFlow.validate()withParameterServerCount
public TensorFlow withParameterServerCount(Integer parameterServerCount)
Set the parameterServerCount property: Number of parameter server tasks.
Parameters:
Returns:
withWorkerCount
public TensorFlow withWorkerCount(Integer workerCount)
Set the workerCount property: Number of workers. If not specified, will default to the instance count.
Parameters:
Returns:
workerCount
public Integer workerCount()
Get the workerCount property: Number of workers. If not specified, will default to the instance count.
Returns: