From f88e07a0d307a2ef721eb192be40c122a281291a Mon Sep 17 00:00:00 2001 From: Zeng Jinle <32832641+sneaxiy@users.noreply.github.com> Date: Tue, 25 Jun 2019 15:58:39 +0800 Subject: [PATCH] fix lod_tensor.py grammar error, test=develop (#18308) --- python/paddle/fluid/lod_tensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/lod_tensor.py b/python/paddle/fluid/lod_tensor.py index 3cfd6ff549..9d5ed2e6d9 100644 --- a/python/paddle/fluid/lod_tensor.py +++ b/python/paddle/fluid/lod_tensor.py @@ -72,7 +72,7 @@ def create_lod_tensor(data, recursive_seq_lens, place): if isinstance(data, core.LoDTensor): return create_lod_tensor(np.array(data), recursive_seq_lens, place) elif isinstance(data, list): - # dtype and shape is not important here, + # dtype and shape are not important here, # we only want to reuse code of DataToLoDTensorConverter converter = DataToLoDTensorConverter( place=place, -- GitLab