Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the JobCreateParametersInner class.
 /// </summary>
 /// <param name="location">The region in which to create the
 /// job.</param>
 /// <param name="cluster">Specifies the Id of the cluster on which this
 /// job will run.</param>
 /// <param name="nodeCount">Number of compute nodes to run the job
 /// on.</param>
 /// <param name="stdOutErrPathPrefix">The path where the Batch AI
 /// service will upload stdout and stderror of the job.</param>
 /// <param name="tags">The user specified tags associated with the
 /// job.</param>
 /// <param name="experimentName">Describe the experiment information of
 /// the job</param>
 /// <param name="priority">Priority associated with the job.</param>
 /// <param name="mountVolumes">Information on mount volumes to be used
 /// by the job.</param>
 /// <param name="containerSettings">If provided the job will run in the
 /// specified container.</param>
 /// <param name="cntkSettings">Specifies the settings for CNTK (aka
 /// Microsoft Cognitive Toolkit) job.</param>
 /// <param name="pyTorchSettings">Specifies the settings for pyTorch
 /// job.</param>
 /// <param name="tensorFlowSettings">Specifies the settings for Tensor
 /// Flow job.</param>
 /// <param name="caffeSettings">Specifies the settings for Caffe
 /// job.</param>
 /// <param name="caffe2Settings">Specifies the settings for Caffe2
 /// job.</param>
 /// <param name="chainerSettings">Specifies the settings for Chainer
 /// job.</param>
 /// <param name="customToolkitSettings">Specifies the settings for
 /// custom tool kit job.</param>
 /// <param name="jobPreparation">Specifies the command line to be
 /// executed before tool kit is launched.</param>
 /// <param name="inputDirectories">Specifies the list of input
 /// directories for the Job.</param>
 /// <param name="outputDirectories">Specifies the list of output
 /// directories.</param>
 /// <param name="environmentVariables">Additional environment variables
 /// to set on the job.</param>
 /// <param name="secrets">Additional environment variables with secret
 /// values to set on the job.</param>
 /// <param name="constraints">Constraints associated with the
 /// Job.</param>
 public JobCreateParametersInner(string location, ResourceId cluster, int nodeCount, string stdOutErrPathPrefix, IDictionary <string, string> tags = default(IDictionary <string, string>), string experimentName = default(string), int?priority = default(int?), MountVolumes mountVolumes = default(MountVolumes), ContainerSettings containerSettings = default(ContainerSettings), CNTKsettings cntkSettings = default(CNTKsettings), PyTorchSettings pyTorchSettings = default(PyTorchSettings), TensorFlowSettings tensorFlowSettings = default(TensorFlowSettings), CaffeSettings caffeSettings = default(CaffeSettings), Caffe2Settings caffe2Settings = default(Caffe2Settings), ChainerSettings chainerSettings = default(ChainerSettings), CustomToolkitSettings customToolkitSettings = default(CustomToolkitSettings), JobPreparation jobPreparation = default(JobPreparation), IList <InputDirectory> inputDirectories = default(IList <InputDirectory>), IList <OutputDirectory> outputDirectories = default(IList <OutputDirectory>), IList <EnvironmentVariable> environmentVariables = default(IList <EnvironmentVariable>), IList <EnvironmentVariableWithSecretValue> secrets = default(IList <EnvironmentVariableWithSecretValue>), JobBasePropertiesConstraints constraints = default(JobBasePropertiesConstraints))
 {
     Location              = location;
     Tags                  = tags;
     ExperimentName        = experimentName;
     Priority              = priority;
     Cluster               = cluster;
     MountVolumes          = mountVolumes;
     NodeCount             = nodeCount;
     ContainerSettings     = containerSettings;
     CntkSettings          = cntkSettings;
     PyTorchSettings       = pyTorchSettings;
     TensorFlowSettings    = tensorFlowSettings;
     CaffeSettings         = caffeSettings;
     Caffe2Settings        = caffe2Settings;
     ChainerSettings       = chainerSettings;
     CustomToolkitSettings = customToolkitSettings;
     JobPreparation        = jobPreparation;
     StdOutErrPathPrefix   = stdOutErrPathPrefix;
     InputDirectories      = inputDirectories;
     OutputDirectories     = outputDirectories;
     EnvironmentVariables  = environmentVariables;
     Secrets               = secrets;
     Constraints           = constraints;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the JobCreateParameters class.
 /// </summary>
 /// <param name="cluster">Cluster.</param>
 /// <param name="nodeCount">Node count.</param>
 /// <param name="stdOutErrPathPrefix">Standard output path
 /// prefix.</param>
 /// <param name="schedulingPriority">Scheduling priority.</param>
 /// <param name="mountVolumes">Mount volumes.</param>
 /// <param name="containerSettings">Container settings.</param>
 /// <param name="cntkSettings">CNTK settings.</param>
 /// <param name="pyTorchSettings">pyTorch settings.</param>
 /// <param name="tensorFlowSettings">TensorFlow settings.</param>
 /// <param name="caffeSettings">Caffe settings.</param>
 /// <param name="caffe2Settings">Caffe2 settings.</param>
 /// <param name="chainerSettings">Chainer settings.</param>
 /// <param name="customToolkitSettings">Custom tool kit job.</param>
 /// <param name="customMpiSettings">Custom MPI settings.</param>
 /// <param name="horovodSettings">Horovod settings.</param>
 /// <param name="jobPreparation">Job preparation.</param>
 /// <param name="inputDirectories">Input directories.</param>
 /// <param name="outputDirectories">Output directories.</param>
 /// <param name="environmentVariables">Environment variables.</param>
 /// <param name="secrets">Secrets.</param>
 /// <param name="constraints">Constraints associated with the
 /// Job.</param>
 public JobCreateParameters(ResourceId cluster, int nodeCount, string stdOutErrPathPrefix, JobPriority schedulingPriority = default(JobPriority), MountVolumes mountVolumes = default(MountVolumes), ContainerSettings containerSettings = default(ContainerSettings), CNTKsettings cntkSettings = default(CNTKsettings), PyTorchSettings pyTorchSettings = default(PyTorchSettings), TensorFlowSettings tensorFlowSettings = default(TensorFlowSettings), CaffeSettings caffeSettings = default(CaffeSettings), Caffe2Settings caffe2Settings = default(Caffe2Settings), ChainerSettings chainerSettings = default(ChainerSettings), CustomToolkitSettings customToolkitSettings = default(CustomToolkitSettings), CustomMpiSettings customMpiSettings = default(CustomMpiSettings), HorovodSettings horovodSettings = default(HorovodSettings), JobPreparation jobPreparation = default(JobPreparation), IList <InputDirectory> inputDirectories = default(IList <InputDirectory>), IList <OutputDirectory> outputDirectories = default(IList <OutputDirectory>), IList <EnvironmentVariable> environmentVariables = default(IList <EnvironmentVariable>), IList <EnvironmentVariableWithSecretValue> secrets = default(IList <EnvironmentVariableWithSecretValue>), JobBasePropertiesConstraints constraints = default(JobBasePropertiesConstraints))
 {
     SchedulingPriority    = schedulingPriority;
     Cluster               = cluster;
     MountVolumes          = mountVolumes;
     NodeCount             = nodeCount;
     ContainerSettings     = containerSettings;
     CntkSettings          = cntkSettings;
     PyTorchSettings       = pyTorchSettings;
     TensorFlowSettings    = tensorFlowSettings;
     CaffeSettings         = caffeSettings;
     Caffe2Settings        = caffe2Settings;
     ChainerSettings       = chainerSettings;
     CustomToolkitSettings = customToolkitSettings;
     CustomMpiSettings     = customMpiSettings;
     HorovodSettings       = horovodSettings;
     JobPreparation        = jobPreparation;
     StdOutErrPathPrefix   = stdOutErrPathPrefix;
     InputDirectories      = inputDirectories;
     OutputDirectories     = outputDirectories;
     EnvironmentVariables  = environmentVariables;
     Secrets               = secrets;
     Constraints           = constraints;
     CustomInit();
 }