DistributionType Class

public final class DistributionType
extends ExpandableStringEnum<DistributionType>

Enum to determine the job distribution type.

Field Summary

Modifier and Type Field and Description
static final DistributionType MPI

Static value Mpi for DistributionType.

static final DistributionType PY_TORCH

Static value PyTorch for DistributionType.

static final DistributionType TENSOR_FLOW

Static value TensorFlow for DistributionType.

Constructor Summary

Constructor Description
DistributionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DistributionType value.

Method Summary

Modifier and Type Method and Description
static DistributionType fromString(String name)

Creates or finds a DistributionType from its string representation.

static Collection<DistributionType> values()

Gets known DistributionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MPI

public static final DistributionType MPI

Static value Mpi for DistributionType.

PY_TORCH

public static final DistributionType PY_TORCH

Static value PyTorch for DistributionType.

TENSOR_FLOW

public static final DistributionType TENSOR_FLOW

Static value TensorFlow for DistributionType.

Constructor Details

DistributionType

@Deprecated
public DistributionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DistributionType value.

Method Details

fromString

public static DistributionType fromString(String name)

Creates or finds a DistributionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DistributionType.

values

public static Collection<DistributionType> values()

Gets known DistributionType values.

Returns:

known DistributionType values.

Applies to