From c2f6aa9b4ae4ed18cac09c87c3959f16f9f445d7 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Tue, 31 Oct 2017 14:36:38 +0800 Subject: [PATCH] add comments in test_Expand.cpp --- paddle/gserver/tests/test_Expand.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/gserver/tests/test_Expand.cpp b/paddle/gserver/tests/test_Expand.cpp index a84a518a01..d32bf0152f 100644 --- a/paddle/gserver/tests/test_Expand.cpp +++ b/paddle/gserver/tests/test_Expand.cpp @@ -91,6 +91,8 @@ TEST(Layer, ExpandLayerFwd) { doOneExpandTest("non-seq", false, useGpu, input1, input2, result); // CPU case 2. non-seq expand to sub-seq + // NOTE: input1.batch_size == input2.sequencelength in this case. + // i.e, input1 expands by input2.sequence // input1 = 1,2,3 // input2 = [[4,5]],[[6]],[[7],[8,9]] // result = [[1,1]],[[2]],[[3],[3,3]] -- GitLab