forked from TensorStack-AI/TensorStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSCMOptions.cs
More file actions
25 lines (20 loc) · 746 Bytes
/
SCMOptions.cs
File metadata and controls
25 lines (20 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System.Text.Json.Serialization;
namespace TensorStack.Python.Scheduler
{
public sealed record SCMOptions : SchedulerOptions
{
public SCMOptions() : base() { }
private SCMOptions(SCMOptions other) : base(other)
{
ShallowCopyProperties(other);
}
[JsonIgnore]
public override SchedulerType Scheduler => SchedulerType.SCM;
[JsonPropertyName("num_train_timesteps")]
public int NumTrainTimesteps { get; init; } = 1000;
[JsonPropertyName("prediction_type")]
public PredictionType PredictionType { get; init; } = PredictionType.Trigflow;
[JsonPropertyName("sigma_data")]
public float SigmaData { get; set; } = 0.5f;
}
}