You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
601 B
24 lines
601 B
using CommunityToolkit.Mvvm.ComponentModel; |
|
using StabilityMatrix.Avalonia.Controls; |
|
using StabilityMatrix.Avalonia.ViewModels.Base; |
|
using StabilityMatrix.Core.Attributes; |
|
|
|
namespace StabilityMatrix.Avalonia.ViewModels.Inference; |
|
|
|
[View(typeof(BatchSizeCard))] |
|
[ManagedService] |
|
[Transient] |
|
public partial class BatchSizeCardViewModel : LoadableViewModelBase |
|
{ |
|
[ObservableProperty] |
|
private int batchSize = 1; |
|
|
|
[ObservableProperty] |
|
private int batchCount = 1; |
|
|
|
[ObservableProperty] |
|
private bool isBatchIndexEnabled; |
|
|
|
[ObservableProperty] |
|
private int batchIndex = 1; |
|
}
|
|
|