public class JobCreateParameters extends Object
Constructor and Description |
---|
JobCreateParameters() |
Modifier and Type | Method and Description |
---|---|
Caffe2Settings |
caffe2Settings()
Get settings for Caffe2 job.
|
CaffeSettings |
caffeSettings()
Get settings for Caffe job.
|
ChainerSettings |
chainerSettings()
Get settings for Chainer job.
|
ResourceId |
cluster()
Get resource ID of the cluster on which this job will run.
|
CNTKsettings |
cntkSettings()
Get settings for CNTK (aka Microsoft Cognitive Toolkit) job.
|
JobBasePropertiesConstraints |
constraints()
Get constraints associated with the Job.
|
ContainerSettings |
containerSettings()
Get docker container settings for the job.
|
CustomMpiSettings |
customMpiSettings()
Get settings for custom MPI job.
|
CustomToolkitSettings |
customToolkitSettings()
Get settings for custom tool kit job.
|
List<EnvironmentVariable> |
environmentVariables()
Get a list of user defined environment variables which will be setup for the job.
|
HorovodSettings |
horovodSettings()
Get settings for Horovod job.
|
List<InputDirectory> |
inputDirectories()
Get a list of input directories for the job.
|
JobPreparation |
jobPreparation()
Get a command line to be executed on each node allocated for the job before tool kit is launched.
|
MountVolumes |
mountVolumes()
Get information on mount volumes to be used by the job.
|
int |
nodeCount()
Get number of compute nodes to run the job on.
|
List<OutputDirectory> |
outputDirectories()
Get a list of output directories for the job.
|
PyTorchSettings |
pyTorchSettings()
Get settings for pyTorch job.
|
JobPriority |
schedulingPriority()
Get scheduling priority associated with the job.
|
List<EnvironmentVariableWithSecretValue> |
secrets()
Get a list of user defined environment variables with secret values which will be setup for the job.
|
String |
stdOutErrPathPrefix()
Get the path where the Batch AI service will store stdout, stderror and execution log of the job.
|
TensorFlowSettings |
tensorFlowSettings()
Get settings for Tensor Flow job.
|
JobCreateParameters |
withCaffe2Settings(Caffe2Settings caffe2Settings)
Set settings for Caffe2 job.
|
JobCreateParameters |
withCaffeSettings(CaffeSettings caffeSettings)
Set settings for Caffe job.
|
JobCreateParameters |
withChainerSettings(ChainerSettings chainerSettings)
Set settings for Chainer job.
|
JobCreateParameters |
withCluster(ResourceId cluster)
Set resource ID of the cluster on which this job will run.
|
JobCreateParameters |
withCntkSettings(CNTKsettings cntkSettings)
Set settings for CNTK (aka Microsoft Cognitive Toolkit) job.
|
JobCreateParameters |
withConstraints(JobBasePropertiesConstraints constraints)
Set constraints associated with the Job.
|
JobCreateParameters |
withContainerSettings(ContainerSettings containerSettings)
Set docker container settings for the job.
|
JobCreateParameters |
withCustomMpiSettings(CustomMpiSettings customMpiSettings)
Set settings for custom MPI job.
|
JobCreateParameters |
withCustomToolkitSettings(CustomToolkitSettings customToolkitSettings)
Set settings for custom tool kit job.
|
JobCreateParameters |
withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
Set a list of user defined environment variables which will be setup for the job.
|
JobCreateParameters |
withHorovodSettings(HorovodSettings horovodSettings)
Set settings for Horovod job.
|
JobCreateParameters |
withInputDirectories(List<InputDirectory> inputDirectories)
Set a list of input directories for the job.
|
JobCreateParameters |
withJobPreparation(JobPreparation jobPreparation)
Set a command line to be executed on each node allocated for the job before tool kit is launched.
|
JobCreateParameters |
withMountVolumes(MountVolumes mountVolumes)
Set information on mount volumes to be used by the job.
|
JobCreateParameters |
withNodeCount(int nodeCount)
Set number of compute nodes to run the job on.
|
JobCreateParameters |
withOutputDirectories(List<OutputDirectory> outputDirectories)
Set a list of output directories for the job.
|
JobCreateParameters |
withPyTorchSettings(PyTorchSettings pyTorchSettings)
Set settings for pyTorch job.
|
JobCreateParameters |
withSchedulingPriority(JobPriority schedulingPriority)
Set scheduling priority associated with the job.
|
JobCreateParameters |
withSecrets(List<EnvironmentVariableWithSecretValue> secrets)
Set a list of user defined environment variables with secret values which will be setup for the job.
|
JobCreateParameters |
withStdOutErrPathPrefix(String stdOutErrPathPrefix)
Set the path where the Batch AI service will store stdout, stderror and execution log of the job.
|
JobCreateParameters |
withTensorFlowSettings(TensorFlowSettings tensorFlowSettings)
Set settings for Tensor Flow job.
|
public JobPriority schedulingPriority()
public JobCreateParameters withSchedulingPriority(JobPriority schedulingPriority)
schedulingPriority
- the schedulingPriority value to setpublic ResourceId cluster()
public JobCreateParameters withCluster(ResourceId cluster)
cluster
- the cluster value to setpublic MountVolumes mountVolumes()
public JobCreateParameters withMountVolumes(MountVolumes mountVolumes)
mountVolumes
- the mountVolumes value to setpublic int nodeCount()
public JobCreateParameters withNodeCount(int nodeCount)
nodeCount
- the nodeCount value to setpublic ContainerSettings containerSettings()
public JobCreateParameters withContainerSettings(ContainerSettings containerSettings)
containerSettings
- the containerSettings value to setpublic CNTKsettings cntkSettings()
public JobCreateParameters withCntkSettings(CNTKsettings cntkSettings)
cntkSettings
- the cntkSettings value to setpublic PyTorchSettings pyTorchSettings()
public JobCreateParameters withPyTorchSettings(PyTorchSettings pyTorchSettings)
pyTorchSettings
- the pyTorchSettings value to setpublic TensorFlowSettings tensorFlowSettings()
public JobCreateParameters withTensorFlowSettings(TensorFlowSettings tensorFlowSettings)
tensorFlowSettings
- the tensorFlowSettings value to setpublic CaffeSettings caffeSettings()
public JobCreateParameters withCaffeSettings(CaffeSettings caffeSettings)
caffeSettings
- the caffeSettings value to setpublic Caffe2Settings caffe2Settings()
public JobCreateParameters withCaffe2Settings(Caffe2Settings caffe2Settings)
caffe2Settings
- the caffe2Settings value to setpublic ChainerSettings chainerSettings()
public JobCreateParameters withChainerSettings(ChainerSettings chainerSettings)
chainerSettings
- the chainerSettings value to setpublic CustomToolkitSettings customToolkitSettings()
public JobCreateParameters withCustomToolkitSettings(CustomToolkitSettings customToolkitSettings)
customToolkitSettings
- the customToolkitSettings value to setpublic CustomMpiSettings customMpiSettings()
public JobCreateParameters withCustomMpiSettings(CustomMpiSettings customMpiSettings)
customMpiSettings
- the customMpiSettings value to setpublic HorovodSettings horovodSettings()
public JobCreateParameters withHorovodSettings(HorovodSettings horovodSettings)
horovodSettings
- the horovodSettings value to setpublic JobPreparation jobPreparation()
public JobCreateParameters withJobPreparation(JobPreparation jobPreparation)
jobPreparation
- the jobPreparation value to setpublic String stdOutErrPathPrefix()
public JobCreateParameters withStdOutErrPathPrefix(String stdOutErrPathPrefix)
stdOutErrPathPrefix
- the stdOutErrPathPrefix value to setpublic List<InputDirectory> inputDirectories()
public JobCreateParameters withInputDirectories(List<InputDirectory> inputDirectories)
inputDirectories
- the inputDirectories value to setpublic List<OutputDirectory> outputDirectories()
public JobCreateParameters withOutputDirectories(List<OutputDirectory> outputDirectories)
outputDirectories
- the outputDirectories value to setpublic List<EnvironmentVariable> environmentVariables()
public JobCreateParameters withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
environmentVariables
- the environmentVariables value to setpublic List<EnvironmentVariableWithSecretValue> secrets()
public JobCreateParameters withSecrets(List<EnvironmentVariableWithSecretValue> secrets)
secrets
- the secrets value to setpublic JobBasePropertiesConstraints constraints()
public JobCreateParameters withConstraints(JobBasePropertiesConstraints constraints)
constraints
- the constraints value to setCopyright © 2019. All rights reserved.