Skip to content

Commit d75d0bc

Browse files
committed
increased batch size
1 parent fd469c0 commit d75d0bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cpp/api/optim.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bool test_optimizer_xor(Options options) {
2626
Linear(8, 1),
2727
Functional(torch::sigmoid));
2828

29-
const int64_t kBatchSize = 6;
29+
const int64_t kBatchSize = 50;
3030
const int64_t kMaximumNumberOfEpochs = 3000;
3131

3232
OptimizerClass optimizer(model->parameters(), options);

0 commit comments

Comments
 (0)