/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Tione.V20191022.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateTrainingJobRequest : AbstractModel
{
///
/// 算法镜像配置
///
[JsonProperty("AlgorithmSpecification")]
public AlgorithmSpecification AlgorithmSpecification{ get; set; }
///
/// 输入数据配置
///
[JsonProperty("InputDataConfig")]
public InputDataConfig[] InputDataConfig{ get; set; }
///
/// 输出数据配置
///
[JsonProperty("OutputDataConfig")]
public OutputDataConfig OutputDataConfig{ get; set; }
///
/// 资源实例配置
///
[JsonProperty("ResourceConfig")]
public ResourceConfig ResourceConfig{ get; set; }
///
/// 训练任务名称
///
[JsonProperty("TrainingJobName")]
public string TrainingJobName{ get; set; }
///
/// 中止条件
///
[JsonProperty("StoppingCondition")]
public StoppingCondition StoppingCondition{ get; set; }
///
/// 私有网络配置
///
[JsonProperty("VpcConfig")]
public VpcConfig VpcConfig{ get; set; }
///
/// 算法超级参数
///
[JsonProperty("HyperParameters")]
public string HyperParameters{ get; set; }
///
/// 环境变量配置
///
[JsonProperty("EnvConfig")]
public EnvConfig[] EnvConfig{ get; set; }
///
/// 角色名称
///
[JsonProperty("RoleName")]
public string RoleName{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamObj(map, prefix + "AlgorithmSpecification.", this.AlgorithmSpecification);
this.SetParamArrayObj(map, prefix + "InputDataConfig.", this.InputDataConfig);
this.SetParamObj(map, prefix + "OutputDataConfig.", this.OutputDataConfig);
this.SetParamObj(map, prefix + "ResourceConfig.", this.ResourceConfig);
this.SetParamSimple(map, prefix + "TrainingJobName", this.TrainingJobName);
this.SetParamObj(map, prefix + "StoppingCondition.", this.StoppingCondition);
this.SetParamObj(map, prefix + "VpcConfig.", this.VpcConfig);
this.SetParamSimple(map, prefix + "HyperParameters", this.HyperParameters);
this.SetParamArrayObj(map, prefix + "EnvConfig.", this.EnvConfig);
this.SetParamSimple(map, prefix + "RoleName", this.RoleName);
}
}
}