6 writes to BatchSize
Microsoft.ML.TimeSeries (1)
ExtensionsCatalog.cs (1)
291BatchSize = batchSize,
Microsoft.ML.TimeSeries.Tests (5)
TimeSeriesDirectApi.cs (5)
696BatchSize = -1, 743BatchSize = -1, 798BatchSize = -1, 857BatchSize = -1, 925BatchSize = -1,
11 references to BatchSize
Microsoft.ML.TimeSeries (11)
SrCnnEntireAnomalyDetector.cs (11)
207Host.CheckUserArg(options.BatchSize == -1 || options.BatchSize >= MinBatchSize, nameof(options.BatchSize), "Must be -1 or no less than 12."); 208Host.CheckUserArg(options.BatchSize >= 4 * options.Period || options.BatchSize == -1 || options.Period == 0, nameof(options.BatchSize), "Must be at least four times the length of one period."); 232=> new Batch(_options.BatchSize, _outputLength, _options.Threshold, _options.Sensitivity, _options.DetectMode, _options.Period, _options.DeseasonalityMode); 236return () => _options.BatchSize == -1 ? input.Position == 0 : input.Position % _options.BatchSize == 0; 241return () => _options.BatchSize == -1 ? input.Position == -1 : (input.Position + 1) % _options.BatchSize == 0;