2 writes to BatchesPerEpoch
Microsoft.ML.Tests (1)
LearningRateSchedulerTest.cs (1)
45trainState.BatchesPerEpoch = 10;
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
982BatchesPerEpoch = trainingExamples / _options.BatchSize
6 references to BatchesPerEpoch
Microsoft.ML.StandardTrainers (4)
Optimizer\LearningRateScheduler.cs (4)
191int numSamplesPerEpoch = trainstate.BatchSize * trainstate.BatchesPerEpoch; 193GlobalStep = (trainstate.CurrentEpoch) * (trainstate.BatchesPerEpoch) + trainstate.CurrentBatchIndex; 246int numSamplesPerEpoch = trainstate.BatchSize * trainstate.BatchesPerEpoch; 248int globalStep = (trainstate.CurrentEpoch) * (trainstate.BatchesPerEpoch) + trainstate.CurrentBatchIndex;
Microsoft.ML.Tests (2)
LearningRateSchedulerTest.cs (2)
48trainState.CurrentBatchIndex = i % trainState.BatchesPerEpoch; 49trainState.CurrentEpoch = i / trainState.BatchesPerEpoch;