Skip to content

Commit 7ff8e76

Browse files
committed
Shrink batch size on unit test for Mac OS X
1 parent 8b1c76a commit 7ff8e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/gserver/tests/test_LayerGrad.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ TEST(Operator, dot_mul) {
5050
TEST(Projection, context) {
5151
for (auto contextStart : {-5, -3, -1, 0, 3}) {
5252
for (auto contextLength : {1, 2, 5, 7}) {
53-
for (auto batchSize : {1, 2, 5, 20, 100}) {
53+
for (auto batchSize : {1, 2, 5, 20, 50}) {
5454
for (auto trainablePadding : {false, true}) {
5555
LOG(INFO) << " contextStart=" << contextStart
5656
<< " contextLength=" << contextLength

0 commit comments

Comments
 (0)