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