From d4e45a3f3c7b94312c5e2629bbcee845cfbd4c7a Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Mon, 15 Oct 2018 10:30:37 +0800 Subject: [PATCH] Update pybind.cc test=release/1.0.0 --- paddle/fluid/pybind/pybind.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index f6fe83e2bd..41561f8a01 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -174,8 +174,8 @@ PYBIND11_PLUGIN(core) { columns, hence [5, 2]. x.lod = [[2, 3]] - x.data = [[1, 2], [3, 4], - [5, 6], [7, 8], [9, 10]] + x.data = [[1, 2], [3, 4], // seq 1 + [5, 6], [7, 8], [9, 10]] // seq 2 x.shape = [5, 2] LoD can have multiple levels (for example, a paragraph can have multiple -- GitLab