版本260406
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
namespace OrpaonVision.Core.Training.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// 训练任务列表项。
|
||||
/// </summary>
|
||||
public sealed class TrainingJobListItemDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 训练任务ID。
|
||||
/// </summary>
|
||||
public Guid TrainingJobId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务名称。
|
||||
/// </summary>
|
||||
public string Name { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 数据集版本号。
|
||||
/// </summary>
|
||||
public string DatasetVersionNo { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 机种编码。
|
||||
/// </summary>
|
||||
public string ProductTypeCode { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 训练算法类型。
|
||||
/// </summary>
|
||||
public string AlgorithmType { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态。
|
||||
/// </summary>
|
||||
public string Status { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 进度百分比(0-100)。
|
||||
/// </summary>
|
||||
public decimal ProgressPercentage { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前轮次。
|
||||
/// </summary>
|
||||
public int CurrentEpoch { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 总轮次。
|
||||
/// </summary>
|
||||
public int TotalEpochs { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前损失。
|
||||
/// </summary>
|
||||
public decimal CurrentLoss { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间(UTC)。
|
||||
/// </summary>
|
||||
public DateTime? StartedAtUtc { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间(UTC)。
|
||||
/// </summary>
|
||||
public DateTime CreatedAtUtc { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建者。
|
||||
/// </summary>
|
||||
public string CreatedBy { get; init; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user