6 writes to BatchSize
Microsoft.ML.TorchSharp (6)
NasBert\NerTrainer.cs (1)
97BatchSize = batchSize,
NasBert\SentenceSimilarityTrainer.cs (2)
67BatchSize = 32; 93BatchSize = batchSize,
NasBert\TextClassificationTrainer.cs (2)
69BatchSize = 32; 95BatchSize = batchSize,
Roberta\QATrainer.cs (1)
137BatchSize = batchSize,
12 references to BatchSize
Microsoft.ML.TorchSharp (12)
NasBert\NasBertTrainer.cs (1)
194total_steps: ((TrainingRowCount / Parent.Option.BatchSize) + 1) * Parent.Option.MaxEpoch,
Roberta\QATrainer.cs (4)
223total_steps: ((RowCount / Parent.Option.BatchSize) + 1) * Parent.Option.MaxEpoch, 282List<Tensor> inputTensors = new List<Tensor>(Parent.Option.BatchSize); 283List<Tensor> targetTensors = new List<Tensor>(Parent.Option.BatchSize); 323for (int i = 0; i < Parent.Option.BatchSize && cursorValid; i++)
TorchSharpBaseTrainer.cs (7)
90Contracts.Assert(options.BatchSize > 0); 206List<Tensor> inputTensors = new List<Tensor>(Parent.Option.BatchSize); 207List<TTargetsCol> targets = new List<TTargetsCol>(Parent.Option.BatchSize); 237for (int i = 0; i < Parent.Option.BatchSize && cursorValid; i++) 278List<Tensor> inputTensors = new List<Tensor>(Parent.Option.BatchSize); 279List<TTargetsCol> targets = new List<TTargetsCol>(Parent.Option.BatchSize); 310for (int i = 0; i < Parent.Option.BatchSize && cursorValid; i++)